~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

Viewing changes to default-config.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-05 23:17:04 UTC
  • Revision ID: james.westby@ubuntu.com-20080205231704-gl9bsdgdfweyk3ff
Tags: 0.8.12-3ubuntu1
* Merge from debian unstable, remaining changes (LP: #181641):
  - Added debian/patches/90irc-ubuntu-com.dpatch (Launchpad #52690).
    New with this merge: We now also apply this patch.
  - Modify Maintainer value to match the DebianMaintainerField spec.
  - debian/irssi.prerm: Don't remove alternative on upgrades (LP #67698).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
const char *default_config =
2
 
"servers = (\n"
3
 
"  { address = \"irc.stealth.net\"; chatnet = \"IRCnet\"; port = \"6668\"; },\n"
4
 
"  { address = \"irc.efnet.org\"; chatnet = \"EFNet\"; port = \"6667\"; },\n"
5
 
"  { \n"
6
 
"    address = \"irc.undernet.org\";\n"
7
 
"    chatnet = \"Undernet\";\n"
8
 
"    port = \"6667\";\n"
9
 
"  },\n"
10
 
"  { address = \"irc.dal.net\"; chatnet = \"DALnet\"; port = \"6667\"; }, \n"
11
 
"  { address = \"irc.quakenet.org\"; chatnet = \"QuakeNet\"; port = \"6667\"; },\n"
12
 
"  { address = \"silc.silcnet.org\"; chatnet = \"SILC\"; port = \"706\"; }\n"
13
 
");\n"
14
 
"\n"
15
 
"chatnets = {\n"
16
 
"  IRCnet = {\n"
17
 
"    type = \"IRC\";\n"
18
 
"    max_kicks = \"4\";\n"
19
 
"    max_msgs = \"5\";\n"
20
 
"    max_whois = \"4\";\n"
21
 
"    max_query_chans = \"5\";\n"
22
 
"  };\n"
23
 
"  EFNet = {\n"
24
 
"    type = \"IRC\";\n"
25
 
"    max_kicks = \"4\";\n"
26
 
"    max_msgs = \"3\";\n"
27
 
"    max_whois = \"1\";\n"
28
 
"  };\n"
29
 
"  Undernet = {\n"
30
 
"    type = \"IRC\";\n"
31
 
"    max_kicks = \"1\";\n"
32
 
"    max_msgs = \"3\";\n"
33
 
"    max_whois = \"30\";\n"
34
 
"  };\n"
35
 
"  DALnet = {\n"
36
 
"    type = \"IRC\";\n"
37
 
"    max_kicks = \"4\";\n"
38
 
"    max_msgs = \"3\";\n"
39
 
"    max_whois = \"30\";\n"
40
 
"  }; \n"
41
 
"  QuakeNet = {\n"
42
 
"    type = \"IRC\";\n"
43
 
"    max_kicks = \"1\";\n"
44
 
"    max_msgs = \"3\";\n"
45
 
"    max_whois = \"30\";\n"
46
 
"  };\n"
47
 
"  SILC = { type = \"SILC\"; };\n"
48
 
"};\n"
49
 
"\n"
50
 
"channels = (\n"
51
 
"  { name = \"#irssi\"; chatnet = \"ircnet\"; autojoin = \"No\"; },\n"
52
 
"  { name = \"silc\"; chatnet = \"silc\"; autojoin = \"No\"; }\n"
53
 
");\n"
54
 
"\n"
55
 
"aliases = {\n"
56
 
"  J = \"join\";\n"
57
 
"  WJOIN = \"join -window\";\n"
58
 
"  WQUERY = \"query -window\";\n"
59
 
"  LEAVE = \"part\";\n"
60
 
"  BYE = \"quit\";\n"
61
 
"  EXIT = \"quit\";\n"
62
 
"  SIGNOFF = \"quit\";\n"
63
 
"  DESCRIBE = \"action\";\n"
64
 
"  DATE = \"time\";\n"
65
 
"  HOST = \"userhost\";\n"
66
 
"  LAST = \"lastlog\";\n"
67
 
"  SAY = \"msg *\";\n"
68
 
"  WI = \"whois\";\n"
69
 
"  WII = \"whois $0 $0\";\n"
70
 
"  WW = \"whowas\";\n"
71
 
"  W = \"who\";\n"
72
 
"  N = \"names\";\n"
73
 
"  M = \"msg\";\n"
74
 
"  T = \"topic\";\n"
75
 
"  C = \"clear\";\n"
76
 
"  CL = \"clear\";\n"
77
 
"  K = \"kick\";\n"
78
 
"  KB = \"kickban\";\n"
79
 
"  KN = \"knockout\";\n"
80
 
"  BANS = \"ban\";\n"
81
 
"  B = \"ban\";\n"
82
 
"  MUB = \"unban *\";\n"
83
 
"  UB = \"unban\";\n"
84
 
"  IG = \"ignore\";\n"
85
 
"  UNIG = \"unignore\";\n"
86
 
"  SB = \"scrollback\";\n"
87
 
"  UMODE = \"mode $N\";\n"
88
 
"  WC = \"window close\";\n"
89
 
"  WN = \"window new hide\";\n"
90
 
"  SV = \"say Irssi $J ($V) - http://irssi.org/\";\n"
91
 
"  GOTO = \"sb goto\";\n"
92
 
"  CHAT = \"dcc chat\";\n"
93
 
"  RUN = \"SCRIPT LOAD\";\n"
94
 
"  CALC = \"exec - if which bc &>/dev/null\\\\; then echo '$*' | bc | awk '{print \\\"$*=\\\"$$1}'\\\\; else echo bc was not found\\\\; fi\";\n"
95
 
"  SBAR = \"STATUSBAR\";\n"
96
 
"  INVITELIST = \"mode $C +I\";\n"
97
 
"  Q = \"QUERY\";\n"
98
 
"  \"MANUAL-WINDOWS\" = \"set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save\";\n"
99
 
"  EXEMPTLIST = \"mode $C +e\";\n"
100
 
"  ATAG = \"WINDOW SERVER\";\n"
101
 
"};\n"
102
 
"\n"
103
 
"statusbar = {\n"
104
 
"  # formats:\n"
105
 
"  # when using {templates}, the template is shown only if it's argument isn't\n"
106
 
"  # empty unless no argument is given. for example {sb} is printed always,\n"
107
 
"  # but {sb $T} is printed only if $T isn't empty.\n"
108
 
"\n"
109
 
"  items = {\n"
110
 
"    # start/end text in statusbars\n"
111
 
"    barstart = \"{sbstart}\";\n"
112
 
"    barend = \"{sbend}\";\n"
113
 
"\n"
114
 
"    topicbarstart = \"{topicsbstart}\";\n"
115
 
"    topicbarend = \"{topicsbend}\";\n"
116
 
"\n"
117
 
"    # treated \"normally\", you could change the time/user name to whatever\n"
118
 
"    time = \"{sb $Z}\";\n"
119
 
"    user = \"{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}\";\n"
120
 
"\n"
121
 
"    # treated specially .. window is printed with non-empty windows,\n"
122
 
"    # window_empty is printed with empty windows\n"
123
 
"    window = \"{sb $winref:$tag/$itemname{sbmode $M}}\";\n"
124
 
"    window_empty = \"{sb $winref{sbservertag $tag}}\";\n"
125
 
"    prompt = \"{prompt $[.15]itemname}\";\n"
126
 
"    prompt_empty = \"{prompt $winname}\";\n"
127
 
"    topic = \" $topic\";\n"
128
 
"    topic_empty = \" Irssi v$J - http://irssi.org/help/\";\n"
129
 
"\n"
130
 
"    # all of these treated specially, they're only displayed when needed\n"
131
 
"    lag = \"{sb Lag: $0-}\";\n"
132
 
"    act = \"{sb Act: $0-}\";\n"
133
 
"    more = \"-- more --\";\n"
134
 
"  };\n"
135
 
"\n"
136
 
"  # there's two type of statusbars. root statusbars are either at the top\n"
137
 
"  # of the screen or at the bottom of the screen. window statusbars are at\n"
138
 
"  # the top/bottom of each split window in screen.\n"
139
 
"  default = {\n"
140
 
"    # the \"default statusbar\" to be displayed at the bottom of the window.\n"
141
 
"    # contains all the normal items.\n"
142
 
"    window = {\n"
143
 
"      disabled = \"no\";\n"
144
 
"\n"
145
 
"      # window, root\n"
146
 
"      type = \"window\";\n"
147
 
"      # top, bottom\n"
148
 
"      placement = \"bottom\";\n"
149
 
"      # number\n"
150
 
"      position = \"1\";\n"
151
 
"      # active, inactive, always\n"
152
 
"      visible = \"active\";\n"
153
 
"\n"
154
 
"      # list of items in statusbar in the display order\n"
155
 
"      items = {\n"
156
 
"        barstart = { priority = \"100\"; };\n"
157
 
"        time = { };\n"
158
 
"        user = { };\n"
159
 
"        window = { };\n"
160
 
"        window_empty = { };\n"
161
 
"        lag = { priority = \"-1\"; };\n"
162
 
"        act = { priority = \"10\"; };\n"
163
 
"        more = { priority = \"-1\"; alignment = \"right\"; };\n"
164
 
"        barend = { priority = \"100\"; alignment = \"right\"; };\n"
165
 
"      };\n"
166
 
"    };\n"
167
 
"\n"
168
 
"    # statusbar to use in inactive split windows\n"
169
 
"    window_inact = {\n"
170
 
"      type = \"window\";\n"
171
 
"      placement = \"bottom\";\n"
172
 
"      position = \"1\";\n"
173
 
"      visible = \"inactive\";\n"
174
 
"      items = {\n"
175
 
"        barstart = { priority = \"100\"; };\n"
176
 
"        window = { };\n"
177
 
"        window_empty = { };\n"
178
 
"        more = { priority = \"-1\"; alignment = \"right\"; };\n"
179
 
"        barend = { priority = \"100\"; alignment = \"right\"; };\n"
180
 
"      };\n"
181
 
"    };\n"
182
 
"\n"
183
 
"    # we treat input line as yet another statusbar :) It's possible to\n"
184
 
"    # add other items before or after the input line item.\n"
185
 
"    prompt = {\n"
186
 
"      type = \"root\";\n"
187
 
"      placement = \"bottom\";\n"
188
 
"      # we want to be at the bottom always\n"
189
 
"      position = \"100\";\n"
190
 
"      visible = \"always\";\n"
191
 
"      items = {\n"
192
 
"        prompt = { priority = \"-1\"; };\n"
193
 
"        prompt_empty = { priority = \"-1\"; };\n"
194
 
"        # treated specially, this is the real input line.\n"
195
 
"        input = { priority = \"10\"; };\n"
196
 
"      };\n"
197
 
"    };\n"
198
 
"\n"
199
 
"    # topicbar\n"
200
 
"    topic = {\n"
201
 
"      type = \"root\";\n"
202
 
"      placement = \"top\";\n"
203
 
"      position = \"1\";\n"
204
 
"      visible = \"always\";\n"
205
 
"      items = {\n"
206
 
"        topicbarstart = { priority = \"100\"; };\n"
207
 
"        topic = { };\n"
208
 
"        topic_empty = { };\n"
209
 
"        topicbarend = { priority = \"100\"; alignment = \"right\"; };\n"
210
 
"      };\n"
211
 
"    };\n"
212
 
"  };\n"
213
 
"};\n"
214
 
;