Merged from silc_1_0_branch.
[silc.git] / apps / irssi / silc.conf
index e99332a6c36f80279e3babfc0a10cd37ce7fd27b..c2bd1c69bd57a94aef601fc78943b6c4d2e0fbc6 100644 (file)
@@ -1,28 +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 = 707; }
+  { 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 *";
@@ -40,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
@@ -68,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
@@ -91,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
@@ -109,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"; };
       };
     };
@@ -151,23 +175,56 @@ 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,
+# rc6-256-cbc, rc6-192-cbc, rc6-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"; };
 };