imported irssi.
[silc.git] / apps / irssi / docs / formats.txt
1
2  Irssi's colors that you can use in text formats, hilights, etc. :
3
4                            text            text            background
5    ---------------------------------------------------------------------
6    %k      %K      %0      black           bold black      black
7    %r      %R      %1      red             bold red        red
8    %g      %G      %2      green           bold green      green
9    %y      %Y      %3      yellow          bold yellow     yellow
10    %b      %B      %4      blue            bold blue       blue
11    %m      %M      %5      magenta         bold magenta    magenta
12    %p      %P              magenta (think: purple)
13    %c      %C      %6      cyan            bold cyan       cyan
14    %w      %W      %7      white           bold white      white
15    %n      %N              Turn off all colors and other formatting
16    %F                      Blinking on/off (think: flash)
17    %U                      Underline on/off
18    %8                      Reverse on/off
19    %9      %_              Bold on/off
20    %:                      Insert newline
21    %|                      Marks the indentation position
22    %%                      A single %
23
24  In .theme files %n works a bit differently. See default.theme
25  for more information.
26
27
28  MIRC colors that you can use when writing text to channel:
29
30                foreground (fg)     background (bg)
31    -------------------------------------------------------
32     0          white               black        with 0 as fg
33                                    light gray   with fg > 0
34     1          ligh gray           black
35     2          blue                blue
36     3          green               green
37     4          light red           red          + blinking fg
38     5          orange              orange
39     6          magenta (purple)    magenta
40     7          red                 red
41     8          yellow              orange       + blinking fg
42     9          light green         light green  + blinking fg
43     10         cyan                cyan         
44     11         light cyan          cyan         + blinking fg
45     12         light blue          blue         + blinking fg
46     13         light magenta       magenta      + blinking fg
47     14         gray                black        + blinking fg 
48     15         light gray          black on black
49                                    gray  on light gray (with bold)
50
51  These colors may differ depending on your terminal.
52
53  How to use these colors ('#' means a number as MIRC color code):
54  
55  <Ctrl>-b        set bold
56  <Ctrl>-c#[,#]   set foreground and optionally background color
57  <Ctrl>-o        reset all formats to plain text
58  <Ctrl>-v        set inverted color mode
59  <Ctrl>-_        set underline
60  <Ctrl>-7        same as <Ctrl>-_
61  
62  To reset a mode set it again, f.e.
63    <Ctrl-C>3<Ctrl-V>FOO<Ctrl-V>BAR
64  creates black on green FOO followed by a green on black BAR