Merges from Irssi CVS.
[crypto.git] / apps / irssi / silc.conf
index 3439e3c913fb0c4ac6195c059f3ca0ba925872ba..40a078560d8db181bc4bd435a94f34afdc630ca8 100644 (file)
@@ -21,12 +21,17 @@ 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";
@@ -64,6 +69,8 @@ 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";
 };
 
 #
@@ -82,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
@@ -105,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
@@ -123,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"; };
       };
     };
@@ -164,10 +176,12 @@ statusbar = {
       type = "root";
       placement = "top";
       position = "1";
-      visible = "never";
+      visible = "always";
+      disabled = "yes";
       items = {
         barstart = { priority = "100"; };
         topic = { };
+        topic_empty = { };
         barend = { priority = "100"; alignment = "right"; };
       };
     };