X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fdocs%2Fformats.txt;fp=apps%2Firssi%2Fdocs%2Fformats.txt;h=6dabc43c381e23a5eae0c472840b62aa78cfe950;hb=23c5df1c8b0bfe539d3fa65802186e6e09e044aa;hp=0000000000000000000000000000000000000000;hpb=0f9738ce962b8498bbed0a75d5fb6fa127e3577f;p=silc.git diff --git a/apps/irssi/docs/formats.txt b/apps/irssi/docs/formats.txt new file mode 100644 index 00000000..6dabc43c --- /dev/null +++ b/apps/irssi/docs/formats.txt @@ -0,0 +1,64 @@ + + Irssi's colors that you can use in text formats, hilights, etc. : + + text text background + --------------------------------------------------------------------- + %k %K %0 black bold black black + %r %R %1 red bold red red + %g %G %2 green bold green green + %y %Y %3 yellow bold yellow yellow + %b %B %4 blue bold blue blue + %m %M %5 magenta bold magenta magenta + %p %P magenta (think: purple) + %c %C %6 cyan bold cyan cyan + %w %W %7 white bold white white + %n %N Turn off all colors and other formatting + %F Blinking on/off (think: flash) + %U Underline on/off + %8 Reverse on/off + %9 %_ Bold on/off + %: Insert newline + %| Marks the indentation position + %% A single % + + In .theme files %n works a bit differently. See default.theme + for more information. + + + MIRC colors that you can use when writing text to channel: + + foreground (fg) background (bg) + ------------------------------------------------------- + 0 white black with 0 as fg + light gray with fg > 0 + 1 ligh gray black + 2 blue blue + 3 green green + 4 light red red + blinking fg + 5 orange orange + 6 magenta (purple) magenta + 7 red red + 8 yellow orange + blinking fg + 9 light green light green + blinking fg + 10 cyan cyan + 11 light cyan cyan + blinking fg + 12 light blue blue + blinking fg + 13 light magenta magenta + blinking fg + 14 gray black + blinking fg + 15 light gray black on black + gray on light gray (with bold) + + These colors may differ depending on your terminal. + + How to use these colors ('#' means a number as MIRC color code): + + -b set bold + -c#[,#] set foreground and optionally background color + -o reset all formats to plain text + -v set inverted color mode + -_ set underline + -7 same as -_ + + To reset a mode set it again, f.e. + 3FOOBAR + creates black on green FOO followed by a green on black BAR