X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsilc.conf;h=ba405d717cfc4ef0c8f1656911a2790119c2abf1;hb=c257b555225193e54d85daf541d29578b3c93882;hp=1fe433d474a3f403aabe3d414ca5a5d59f85c726;hpb=0f8a1071000d510ef8c159aca3345369c946bbb7;p=silc.git diff --git a/apps/irssi/silc.conf b/apps/irssi/silc.conf index 1fe433d4..ba405d71 100644 --- a/apps/irssi/silc.conf +++ b/apps/irssi/silc.conf @@ -1,27 +1,42 @@ +# +# Configured servers +# +# silc.silcnet.org is DNS round robin for all (currently) known public SILCNet servers. +# servers = ( - { address = "silc.silcnet.org"; chatnet = SILCNet; port = 706; }, - { address = "silc.ytti.fi"; chatnet = SILCNet; port = 706; }, - { address = "silc.peelo.com"; chatnet = SILCNet; port = 706; }, + { address = "silc.silcnet.org"; chatnet = SILCNet; port = 706; autoconnect = "yes"; } ); +# +# Configured chat networks +# chatnets = { SILCNet = { type = "SILC"; }; }; +# +# Configured channels +# channels = ( - { name = "#silc"; chatnet = silcnet; autojoin = No; } + { name = "silc"; chatnet = SILCNet; autojoin = No; } ); +# +# Keyboard bindings (BIND command) +# +keyboard = ( + { key = "meta-K"; id = "command"; data = "key channel * change"; } +); + +# +# Your favorite aliases +# aliases = { - JOIN = "join -window"; - QUERY = "query -window"; LEAVE = "part"; BYE = "quit"; EXIT = "quit"; SIGNOFF = "quit"; DESCRIBE = "action"; - DATE = "time"; - HOST = "userhost"; LAST = "lastlog"; SAY = "msg *"; WHO = "users *"; @@ -39,21 +54,26 @@ aliases = { KN = "knockout"; BANS = "ban"; B = "ban"; - MUB = "unban *"; - UB = "unban"; IG = "ignore"; UNIG = "unignore"; SB = "scrollback"; WC = "window close"; WN = "window new hide"; GOTO = "sb goto"; - CHAT = "dcc chat"; ADMIN = "info"; RUN = "SCRIPT LOAD"; UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'"; CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi"; + SBAR = "STATUSBAR"; + Q = "QUERY"; + MOOD = "ATTR status_mood"; + OP = "CUMODE $C +o"; + DEOP = "CUMODE $C -o"; }; +# +# Configuration for statusbar and other bars that appear on the screen +# statusbar = { # formats: # when using {templates}, the template is shown only if it's argument isn't @@ -67,8 +87,10 @@ statusbar = { # treated "normally", you could change the time/user name to whatever time = "{sb $Z}"; - user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}"; + user = "{sb $cumode$N{sbaway $A}}"; + usermode = " {sbusermode $usermode}"; topic = " $topic"; + topic_empty = " Irssi v$J - http://irssi.org/help/"; # treated specially .. window is printed with non-empty windows, # window_empty is printed with empty windows @@ -90,13 +112,15 @@ statusbar = { # the "default statusbar" to be displayed at the bottom of the window. # contains all the normal items. window = { + disabled = "no"; + # window, root type = "window"; # top, bottom placement = "bottom"; # number position = "1"; - # active, inactive, always, never (disables the statusbar) + # active, inactive, always visible = "active"; # list of items in statusbar in the display order @@ -108,7 +132,8 @@ statusbar = { window_empty = { }; lag = { priority = "-1"; }; act = { priority = "10"; }; - more = { priority = "-1"; alignment = "right"; }; + usermode = { priority = "-1"; }; + more = { priority = "10"; alignment = "right"; }; barend = { priority = "100"; alignment = "right"; }; }; }; @@ -150,23 +175,55 @@ statusbar = { placement = "top"; position = "1"; visible = "always"; + disabled = "no"; items = { barstart = { priority = "100"; }; topic = { }; + topic_empty = { }; barend = { priority = "100"; alignment = "right"; }; }; }; }; }; +# +# Settings (can be changed with /SET command) +# +# You can set the default cipher, hash function and HMAC to be used +# as setting as well. You can set it here or use the /SET command. +# +# Available ciphers are (default: aes-256-cbc): +# +# aes-256-cbc, aes-192-cbc, aes-128-cbc, +# twofish-256-cbc, twofish-192-cbc, twofish-128-cbc, +# cast-256-cbc, cast-192-cbc and cast-128-cbc +# +# Available hash functions are (default: sha1): +# +# sha1 and md5 +# +# Available HMAC's are (default: hmac-sha1-96): +# +# hmac-sha1-96, hmac-md5-96, hmac-sha1 and hmac-md5 +# settings = { + "server" = { + crypto_default_cipher = "aes-256-cbc"; + crypto_default_hash = "sha1"; + crypto_default_hmac = "hmac-sha1-96"; + }; "fe-common/core" = { - autocreate_own_query = "no"; + autocreate_own_query = "yes"; use_status_window = "no"; autoclose_windows = "no"; use_msgs_window = "no"; - autocreate_windows = "no"; - autocreate_query_level = "none"; + autocreate_windows = "yes"; + autocreate_query_level = "MSG"; + reuse_unused_windows = "yes"; + }; + core = { + server_reconnect_time = "10000"; + resolve_reverse_lookup = "yes"; }; "fe-text" = { indent = "8"; }; };