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