Added SILC Thread Queue API
[crypto.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           dark grey       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              Changes the color to "default color", removing
16                            all other coloring and formatting. %N is always
17                            the terminal's default color. %n is usually too,
18                            except in themes it changes to "previous color",
19                            ie. hello = "%Rhello%n" and "%G{hello} world"
20                            would print hello in red, and %n would turn back
21                            into %G making world green.
22    %F                      Blinking on/off (think: flash)
23    %U                      Underline on/off
24    %8                      Reverse on/off
25    %9      %_              Bold on/off
26    %:                      Insert newline
27    %|                      Marks the indentation position
28    %#                      Monospace font on/off (useful with lists and GUI)
29    %%                      A single %
30
31  In .theme files %n works a bit differently. See default.theme
32  for more information.
33
34
35  MIRC colors that you can use when writing text to channel:
36
37                foreground (fg)     background (bg)
38    -------------------------------------------------------
39     0          white               light gray   + blinking fg
40     1          black               black
41     2          blue                blue
42     3          green               green
43     4          light red           red          + blinking fg
44     5          red                 red
45     6          magenta (purple)    magenta
46     7          orange              orange
47     8          yellow              orange       + blinking fg
48     9          light green         green        + blinking fg
49     10         cyan                cyan         
50     11         light cyan          cyan         + blinking fg
51     12         light blue          blue         + blinking fg
52     13         light magenta       magenta      + blinking fg
53     14         gray                black        + blinking fg 
54     15         light gray          light gray
55
56  These colors may differ depending on your terminal. In particular
57  the meaning for background may be the same as for the foreground
58  (bright colors, no blinking), and orange often looks like brown or
59  dark yellow.
60
61  How to use these colors ('#' means a number as MIRC color code):
62  
63  <Ctrl>-b        set bold
64  <Ctrl>-c#[,#]   set foreground and optionally background color
65  <Ctrl>-o        reset all formats to plain text
66  <Ctrl>-v        set inverted color mode
67  <Ctrl>-_        set underline
68  <Ctrl>-7        same as <Ctrl>-_
69  
70  To reset a mode set it again, f.e.
71    <Ctrl-C>3<Ctrl-V>FOO<Ctrl-V>BAR
72  creates black on green FOO followed by a green on black BAR