Merges from Irssi CVS.
[crypto.git] / apps / irssi / silc.conf
index e99332a6c36f80279e3babfc0a10cd37ce7fd27b..40a078560d8db181bc4bd435a94f34afdc630ca8 100644 (file)
@@ -1,21 +1,37 @@
+#
+# Configured 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; }
 );
 
+#
+# Configured chat networks
+#
 chatnets = {
   SILCNet = { type = "SILC"; };
 };
 
+#
+# Configured channels
+#
 channels = (
   { 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";
@@ -53,8 +69,13 @@ aliases = {
   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";
 };
 
+#
+# 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 +89,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 +114,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 +134,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,16 +177,45 @@ statusbar = {
       placement = "top";
       position = "1";
       visible = "always";
+      disabled = "yes";
       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, 
+# 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):
+#
+# 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";
     use_status_window = "no";