Addec multiple channel private key support to Irssi SILC client.
[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 };
74
75 #
76 # Configuration for statusbar and other bars that appear on the screen
77 #
78 statusbar = {
79   # formats:
80   # when using {templates}, the template is shown only if it's argument isn't
81   # empty unless no argument is given. for example {sb} is printed always,
82   # but {sb $T} is printed only if $T isn't empty.
83
84   items = {
85     # start/end text in statusbars
86     barstart = "{sbstart}";
87     barend = "{sbend}";
88
89     # treated "normally", you could change the time/user name to whatever
90     time = "{sb $Z}";
91     user = "{sb $cumode$N{sbaway $A}}";
92     usermode = " {sbusermode $usermode}";
93     topic = " $topic";
94
95     # treated specially .. window is printed with non-empty windows,
96     # window_empty is printed with empty windows
97     window = "{sb $winref:$T{sbmode $M}}";
98     window_empty = "{sb $winref{sbservertag $tag}}";
99     prompt = "{prompt $[.15]T}";
100     prompt_empty = "{prompt $winname}";
101
102     # all of these treated specially, they're only displayed when needed
103     lag = "{sb Lag: $0-}";
104     act = "{sb Act: $0-}";
105     more = "-- more --";
106   };
107
108   # there's two type of statusbars. root statusbars are either at the top
109   # of the screen or at the bottom of the screen. window statusbars are at
110   # the top/bottom of each split window in screen.
111   default = {
112     # the "default statusbar" to be displayed at the bottom of the window.
113     # contains all the normal items.
114     window = {
115       disabled = "no";
116
117       # window, root
118       type = "window";
119       # top, bottom
120       placement = "bottom";
121       # number
122       position = "1";
123       # active, inactive, always
124       visible = "active";
125
126       # list of items in statusbar in the display order
127       items = {
128         barstart = { priority = "100"; };
129         time = { };
130         user = { };
131         window = { };
132         window_empty = { };
133         lag = { priority = "-1"; };
134         act = { priority = "10"; };
135         usermode = { priority = "-1"; };
136         more = { priority = "10"; alignment = "right"; };
137         barend = { priority = "100"; alignment = "right"; };
138       };
139     };
140
141     # statusbar to use in inactive split windows
142     window_inact = {
143       type = "window";
144       placement = "bottom";
145       position = "1";
146       visible = "inactive";
147       items = {
148         barstart = { priority = "100"; };
149         window = { };
150         window_empty = { };
151         more = { priority = "-1"; alignment = "right"; };
152         barend = { priority = "100"; alignment = "right"; };
153       };
154     };
155
156     # we treat input line as yet another statusbar :) It's possible to
157     # add other items before or after the input line item.
158     prompt = {
159       type = "root";
160       placement = "bottom";
161       # we want to be at the bottom always
162       position = "100";
163       visible = "always";
164       items = {
165         prompt = { priority = "-1"; };
166         prompt_empty = { priority = "-1"; };
167         # treated specially, this is the real input line.
168         input = { priority = "10"; };
169       };
170     };
171
172     # topicbar
173     topic = {
174       type = "root";
175       placement = "top";
176       position = "1";
177       visible = "always";
178       disabled = "yes";
179       items = {
180         barstart = { priority = "100"; };
181         topic = { };
182         barend = { priority = "100"; alignment = "right"; };
183       };
184     };
185   };
186 };
187
188 #
189 # Settings (can be changed with /SET command)
190 #
191 # You can set the default cipher, hash function and HMAC to be used
192 # as setting as well.  You can set it here or use the /SET command.
193 #
194 # Available ciphers are (default: aes-256-cbc):
195 #
196 # aes-256-cbc, aes-192-cbc, aes-128-cbc,
197 # twofish-256-cbc, twofish-192-cbc, twofish-128-cbc,
198 # rc6-256-cbc, rc6-192-cbc, rc6-128-cbc, 
199 # mars-256-cbc, mars-192-cbc, mars-128-cbc,
200 # cast-256-cbc, cast-192-cbc and cast-128-cbc
201 #
202 # Available hash functions are (default: sha1):
203 #
204 # sha1 and md5
205 #
206 # Available HMAC's are (default: hmac-sha1-96):
207 #
208 # hmac-sha1-96, hmac-md5-96, hmac-sha1 and hmac-md5
209 #
210 settings = {
211   "server" = {
212     crypto_default_cipher = "aes-256-cbc";
213     crypto_default_hash = "sha1";
214     crypto_default_hmac = "hmac-sha1-96";
215   };
216   "fe-common/core" = {
217     autocreate_own_query = "no";
218     use_status_window = "no";
219     autoclose_windows = "no";
220     use_msgs_window = "no";
221     autocreate_windows = "no";
222     autocreate_query_level = "none";
223   };
224   "fe-text" = { indent = "8"; };
225 };