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