missing ;
[silc.git] / apps / irssi / silc.conf
1 #
2 # Configured servers
3 #
4 servers = (
5   { address = "silc.silcnet.org"; chatnet = SILCNet; port = 706; },
6   { address = "silc.ytti.fi"; chatnet = SILCNet; port = 706; },
7   { address = "silc.peelo.com"; chatnet = SILCNet; port = 706; },
8 );
9
10 #
11 # Configured chat networks
12 #
13 chatnets = {
14   SILCNet = { type = "SILC"; };
15 };
16
17 #
18 # Configured channels
19 #
20 channels = (
21   { name = "silc"; chatnet = SILCNet; autojoin = No; }
22 );
23
24 #
25 # Keyboard bindings (BIND command)
26 #
27 keyboard = (
28   { key = "meta-K"; id = "command"; data = "key channel * change"; }
29 ); 
30
31 #
32 # Your favorite aliases
33 #
34 aliases = {
35   LEAVE = "part";
36   BYE = "quit";
37   EXIT = "quit";
38   SIGNOFF = "quit";
39   DESCRIBE = "action";
40   DATE = "time";
41   HOST = "userhost";
42   LAST = "lastlog";
43   SAY = "msg *";
44   WHO = "users *";
45   WI = "whois";
46   WII = "whois $0 $0";
47   WW = "whowas";
48   W = "who";
49   N = "names";
50   M = "msg";
51   T = "topic";
52   C = "clear";
53   CL = "clear";
54   K = "kick";
55   KB = "kickban";
56   KN = "knockout";
57   BANS = "ban";
58   B = "ban";
59   MUB = "unban *";
60   UB = "unban";
61   IG = "ignore";
62   UNIG = "unignore";
63   SB = "scrollback";
64   WC = "window close";
65   WN = "window new hide";
66   GOTO = "sb goto";
67   CHAT = "dcc chat";
68   ADMIN = "info";
69   RUN = "SCRIPT LOAD";
70   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\" }'";
71   CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
72   SBAR = "STATUSBAR";
73   Q = "QUERY";
74   MOOD = "ATTR status_mood";
75 };
76
77 #
78 # Configuration for statusbar and other bars that appear on the screen
79 #
80 statusbar = {
81   # formats:
82   # when using {templates}, the template is shown only if it's argument isn't
83   # empty unless no argument is given. for example {sb} is printed always,
84   # but {sb $T} is printed only if $T isn't empty.
85
86   items = {
87     # start/end text in statusbars
88     barstart = "{sbstart}";
89     barend = "{sbend}";
90
91     # treated "normally", you could change the time/user name to whatever
92     time = "{sb $Z}";
93     user = "{sb $cumode$N{sbaway $A}}";
94     usermode = " {sbusermode $usermode}";
95     topic = " $topic";
96     topic_empty = " Irssi v$J - http://irssi.org/help/";
97
98     # treated specially .. window is printed with non-empty windows,
99     # window_empty is printed with empty windows
100     window = "{sb $winref:$T{sbmode $M}}";
101     window_empty = "{sb $winref{sbservertag $tag}}";
102     prompt = "{prompt $[.15]T}";
103     prompt_empty = "{prompt $winname}";
104
105     # all of these treated specially, they're only displayed when needed
106     lag = "{sb Lag: $0-}";
107     act = "{sb Act: $0-}";
108     more = "-- more --";
109   };
110
111   # there's two type of statusbars. root statusbars are either at the top
112   # of the screen or at the bottom of the screen. window statusbars are at
113   # the top/bottom of each split window in screen.
114   default = {
115     # the "default statusbar" to be displayed at the bottom of the window.
116     # contains all the normal items.
117     window = {
118       disabled = "no";
119
120       # window, root
121       type = "window";
122       # top, bottom
123       placement = "bottom";
124       # number
125       position = "1";
126       # active, inactive, always
127       visible = "active";
128
129       # list of items in statusbar in the display order
130       items = {
131         barstart = { priority = "100"; };
132         time = { };
133         user = { };
134         window = { };
135         window_empty = { };
136         lag = { priority = "-1"; };
137         act = { priority = "10"; };
138         usermode = { priority = "-1"; };
139         more = { priority = "10"; alignment = "right"; };
140         barend = { priority = "100"; alignment = "right"; };
141       };
142     };
143
144     # statusbar to use in inactive split windows
145     window_inact = {
146       type = "window";
147       placement = "bottom";
148       position = "1";
149       visible = "inactive";
150       items = {
151         barstart = { priority = "100"; };
152         window = { };
153         window_empty = { };
154         more = { priority = "-1"; alignment = "right"; };
155         barend = { priority = "100"; alignment = "right"; };
156       };
157     };
158
159     # we treat input line as yet another statusbar :) It's possible to
160     # add other items before or after the input line item.
161     prompt = {
162       type = "root";
163       placement = "bottom";
164       # we want to be at the bottom always
165       position = "100";
166       visible = "always";
167       items = {
168         prompt = { priority = "-1"; };
169         prompt_empty = { priority = "-1"; };
170         # treated specially, this is the real input line.
171         input = { priority = "10"; };
172       };
173     };
174
175     # topicbar
176     topic = {
177       type = "root";
178       placement = "top";
179       position = "1";
180       visible = "always";
181       disabled = "yes";
182       items = {
183         barstart = { priority = "100"; };
184         topic = { };
185         topic_empty = { };
186         barend = { priority = "100"; alignment = "right"; };
187       };
188     };
189   };
190 };
191
192 #
193 # Settings (can be changed with /SET command)
194 #
195 # You can set the default cipher, hash function and HMAC to be used
196 # as setting as well.  You can set it here or use the /SET command.
197 #
198 # Available ciphers are (default: aes-256-cbc):
199 #
200 # aes-256-cbc, aes-192-cbc, aes-128-cbc,
201 # twofish-256-cbc, twofish-192-cbc, twofish-128-cbc,
202 # rc6-256-cbc, rc6-192-cbc, rc6-128-cbc, 
203 # mars-256-cbc, mars-192-cbc, mars-128-cbc,
204 # cast-256-cbc, cast-192-cbc and cast-128-cbc
205 #
206 # Available hash functions are (default: sha1):
207 #
208 # sha1 and md5
209 #
210 # Available HMAC's are (default: hmac-sha1-96):
211 #
212 # hmac-sha1-96, hmac-md5-96, hmac-sha1 and hmac-md5
213 #
214 settings = {
215   "server" = {
216     crypto_default_cipher = "aes-256-cbc";
217     crypto_default_hash = "sha1";
218     crypto_default_hmac = "hmac-sha1-96";
219   };
220   "fe-common/core" = {
221     autocreate_own_query = "no";
222     use_status_window = "no";
223     autoclose_windows = "no";
224     use_msgs_window = "no";
225     autocreate_windows = "no";
226     autocreate_query_level = "none";
227   };
228   core = {
229     server_reconnect_time = "10000";
230   };
231   "fe-text" = { indent = "8"; };
232 };