Merged from silc_1_0_branch.
[silc.git] / apps / irssi / silc.conf
index e95502c020ed060498a35714a3b4d1e825af207b..c2bd1c69bd57a94aef601fc78943b6c4d2e0fbc6 100644 (file)
@@ -1,10 +1,10 @@
 #
 # 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"; }
 );
 
 #
@@ -18,22 +18,25 @@ chatnets = {
 # 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 *";
@@ -51,20 +54,21 @@ 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";
 };
 
 #
@@ -83,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
@@ -126,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"; };
       };
     };
@@ -168,10 +175,11 @@ statusbar = {
       placement = "top";
       position = "1";
       visible = "always";
-      disabled = "yes";
+      disabled = "no";
       items = {
         barstart = { priority = "100"; };
         topic = { };
+        topic_empty = { };
         barend = { priority = "100"; alignment = "right"; };
       };
     };
@@ -189,7 +197,6 @@ statusbar = {
 # 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, 
-# mars-256-cbc, mars-192-cbc, mars-128-cbc,
 # cast-256-cbc, cast-192-cbc and cast-128-cbc
 #
 # Available hash functions are (default: sha1):
@@ -207,12 +214,17 @@ settings = {
     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"; };
 };