4b67a1924365540365cce39fecfca2742dd4d044
[citadel.git] / citadel / citadel.rc
1 #
2 # $Id$
3 #
4 # This file allows full customization of the user interface.
5 #
6 # The standard client looks for this file in:
7 # 1. $HOME/.citadelrc
8 # 2. <compiled CTDLDIR>/citadel.rc
9 # 3. /etc/citadel.rc
10 # 4. <current directory>/citadel.rc
11
12 # Set ENCRYPT to yes to force SSL/TLS encryption when connecting to a
13 # Citadel server, even if the server is on the same machine as the
14 # client.  Set it to no to disable SSL/TLS encryption.  The default is to
15 # enable encryption for remote systems and to disable encryption for
16 # systems on the same machine as the client.
17 encrypt=default
18
19 # Set FULLSCREEN to yes to (attempt to) use full-screen curses mode.
20 # This mode presents a status line and a few other niceties.  Some
21 # people might not like this, so you can turn it off here or with the
22 # -s command line option.  The default is to use full screen if the
23 # terminal supports it.
24 fullscreen=no
25
26 # Set EDITOR to the name of an external editor to be used for entering
27 # messages.  If you want the external editor to be used by default, be sure
28 # to reflect this in the command set below.
29 #
30 # editor=vi
31
32 # Or, you could have multiple editors available, like this:
33 # ("editor" and "editor0" are the same internally)
34 # You can go up to MAX_EDITORS number of editors (5 by default)
35 # editor0=pico
36 # editor1=vi
37 # editor2=nano
38
39 # If you define PRINTCMD, it will be a pipe through which messages are
40 # printed when the user hits the <P>rint key after a message.
41 #
42 #printcmd=lpr
43
44 # If you define EXPCMD, it will be a pipe through which any incoming
45 # express messages will be printed.
46 #expcmd=xmessage -title "Express Message" -center -buttons OK -file -
47
48 # If LOCAL_SCREEN_DIMENSIONS is set to 1, then the screen dimensions will
49 # be requested from the underlying operating system instead of asking the
50 # user.  On modern networks this is almost always the case: telnet, SSH,
51 # xterm, and Unix/Linux consoles all properly report the screen dimensions.
52 # Set this option to 0 only if you are running the Citadel client on a
53 # direct-dial modem or hardwired terminals.
54 #
55 local_screen_dimensions=1
56
57 # ANSI_COLOR should be set to on/off/auto/user to control the use of
58 # color on the screen.  If it is set to "auto" then an autodetect will be
59 # attempted.  If it is set to "user" then it's a user-configurable option.
60 #
61 ansi_color=user
62
63 # USE_BACKGROUND controls Citadel's use of the background.  If it is turned
64 # off, then Citadel will set the background to black.  When it is turned on,
65 # the background will be unchanged.  This is most useful with "transparent"
66 # terminals.  Color must be on (see above) or this option has no effect.
67 #
68 use_background=off
69
70 # PROMPT_CONTROL should be set to on/off/user to control whether the <N>ext
71 # and <S>top keys are active when displaying the paginator prompt.  If it
72 # is set to "user" then it's a user-configurable option.
73 #
74 prompt_control=user
75
76 # If DISPLAY_MESSAGE_NUMBERS is set to 1, then messages will be displayed
77 # with their message numbers in the header.  This is ugly but some
78 # people seem to like it anyway...
79 #
80 display_message_numbers=0
81
82 # The FORCE_MAIL_PROMPTS directive causes mail rooms to always display a
83 # prompt after each message, even if the user has prompts turned off.
84 #
85 force_mail_prompts=1
86
87 # USE_FLOORS determines whether the user sees floors, or a flat room space.
88 # Set it to YES to always use floors, NO to never use floors, or DEFAULT
89 # to use the setting in the user's configuration (which is normally the case).
90 #
91 use_floors=DEFAULT
92
93 # BEEP should be set to 1 if you wish the terminal to beep when an express
94 # message (page) comes in, otherwise set it to 0.
95 #
96 beep=1
97
98 # ALLOW_ATTACHMENTS should be set to 1 if you wish the user to be able to
99 # attach files to messages and/or save attachments to disk while reading
100 # messages.  (DANGER: do NOT enable this for "safe" public clients!)
101 #
102 allow_attachments=0
103
104 # IDLE_THRESHOLD is the amount of time a user does nothing before being
105 # listed as "idle" on the who list.  The default is 900 seconds (15 minutes).
106 #
107 idle_threshold=900
108
109 # If you set REMEMBER_PASSWORDS to 1, the Citadel client will offer to
110 # remember your user name and password for every Citadel server you access,
111 # automatically logging in with them on subsequent visits. 
112 # (DANGER: do NOT enable this for "safe" public clients!)
113 #
114 remember_passwords=0
115
116 # Optionally, you can force the same username and password everywhere.  This
117 # obviously isn't as robust as the password manager.
118 #
119 #username=My User Name
120 #password=mypassword
121
122 # If URLCMD is defined, users can hit 'U' after reading a message which
123 # contains embedded URL's, and the command will be executed.  Usually this
124 # will be used to remote-control a web browser.  (Do not enable this command
125 # for 'safe' public clients.)
126 #
127 # This one ought to work on any Linux that has the "Portland" API's installed.
128 # If properly configured, xdg-open will open the URL in the user's perferred
129 # web browser.
130 #urlcmd=xdg-open "%s"
131 #
132 # This one works on non-Portland Linux and most other X11-based Unices.
133 # Specify the full path to Firefox if necessary.
134 #urlcmd=/usr/bin/firefox -a firefox -remote "openURL(%s)" >/dev/null 2>&1
135 #
136 # This one works really well on a Macintosh -- it opens URL's in whatever
137 # browser you have configured as the system default.
138 #urlcmd=open "%s"
139
140 # If OPENCMD is defined, users can hit 'O' after reading a message which
141 # contains attachments, to open the attachments using that command.  This
142 # allows attachments to be opened directly from the Citadel client without
143 # having to first save them in a file.  The "allow_attachments" option (see
144 # above) must be enabled in order for this to work.
145
146 # xdg-open works on most newer Linux systems
147 opencmd=xdg-open "%s"
148 #
149 # This probably will work on a Macintosh
150 #opencmd=open "%s"
151
152 # If GOTMAILCMD is defined, the specified command will be executed.  This
153 # might be nice for playing sounds or providing any other type of notification.
154 #
155 #gotmailcmd=play gotmail.wav
156
157 # If IMAGECMD is defined, users can hit 'I' to view images attached to a
158 # message.  (Do not enable this command for public clients.)
159 #
160 # Possible image viewers follow
161
162 # xdg-open - on Linux systems with the Portland API's installed, this ought
163 # to open the image in the user's preferred viewer.
164 #imagecmd=xdg-open "%s"
165
166 # XV - This is an oldie but goodie, shareware with source code included, no
167 # longer included with some Linux distributions due to licensing.
168 #imagecmd=xv "%s"
169
170 # The following 2 image viewers are included with KDE:
171 # KuickShow has a brightness/gamma option and is simple and ubobtrusive
172 #imagecmd=kuickshow "%s"
173
174 # KView has no brightness/gamma but can do some minimal cropping and clipboard
175 # operations
176 #imagecmd=kview "%s"
177
178 # Eye of Gnome, the Gnome/Nautilus image viewer component (bare bones
179 # view/print):
180 #imagecmd=eog "%s"
181
182 # GIMP is a free-software attempt at a PhotoShop-like application.
183 #imagecmd=gimp "%s"
184
185 # Preview on Mac OS X
186 #imagecmd=/Applications/Preview.app/Contents/MacOS/Preview "%s"
187
188 # MESSAGE READING SEMANTICS (experimental)
189 #
190 # A new set of message reading semantics is now available.  If you set
191 # alternate_semantics, the following changes are made:
192 #
193 # * Messages are marked as read when you read them, rather than when you
194 #   leave the room.  This means read <N>ew will display a new message
195 #   at most once, unless last old on new is turned on.
196 # * Reading <F>orward or <R>everse does not mark messages as read.
197 # * When you leave a room with <G>oto, <J>ump, etc., only messages that
198 #   were in the room when you arrived are marked as read.  The original
199 #   semantics mark all messages read that were in the room at the time
200 #   you leave the room.  This occasionally causes messages to be "lost."
201 # * When you leave with <T>erminate, no additional messages are marked
202 #   as read.
203 # * The <S>kip and <A>bandon commands are reversed.
204 #
205 # This set of semantics should make Citadel easier to use on very busy
206 # systems, where many messages may be posted while reading.  Users
207 # accustomed to D.O.C. or its variants will want to set this option.
208 #
209 alternate_semantics=no
210
211
212
213 # COMMAND SET CONFIGURATION
214 #
215 # All lines starting with "cmd=" are considered to be commands.  This allows
216 # mapping of keytstrokes to various functions of the client.
217 #
218 # Format of each line:
219 # cmd_num,access,keystrokes
220 #
221 # Keep a copy of the original version of this file around as a reference
222 # for the command numbers.  They are not documented anywhere else.
223 #
224 # Access is:  0 (all users), 1 (aides or room aides), 2 (aides only).
225 # Please be aware that it is futile to attempt to gain unauthorized access to
226 # the administrative functions of the system by changing all the access levels
227 # to 0.  If you do this, you'll simply be able to enter a lot of commands that
228 # will fail at the server ... so don't bother trying. :-)
229 #
230 # The actual key to be pressed should be prefaced with an & (ampersand)
231 # character.  Ampersands are interesting and useful characters and you should
232 # use them as much as possible.  Commands requiring more than one keystroke
233 # should be entered as multiple fields.
234 #
235 # If the last keystroke string ends with a : (colon), then the command
236 # will finish by allowing the user to enter a string.
237 #
238 # In keystroke names, the string ^r will be replaced by the name of the
239 # current room.  The string ^c will be replaced by a comma.
240 #
241 # Commands may contain no more than five keystrokes.
242 #
243 # Note that the following characters are illegal in commands:
244 #  , (comma)    : (colon)     ^ (caret)     & (ampersand)
245 #
246 #
247 cmd=1,0,&? (Help)
248 cmd=1,0,&Help
249 cmd=3,0,&Chat
250 #
251 # If you want to use an external editor by default, set <E>nter message
252 # to command #46 (external editor) instead of #4 (built-in editor).
253 cmd=4,0,&Enter message
254 #
255 cmd=5,0,&Goto
256 cmd=6,0,&Skip ^r
257 cmd=7,0,&Zap (forget) room
258 cmd=8,0,&Known rooms
259 cmd=9,0,&Last five msgs
260 cmd=10,0,read &Forward
261 cmd=11,0,read &Reverse
262 cmd=12,0,read &Old
263 cmd=13,0,read &New
264 cmd=14,0,read &Directory
265 cmd=15,0,&Terminate
266 cmd=16,0,&Ungoto
267 cmd=95,0,&.,&Ungoto:
268 cmd=17,0,&Who is online
269 cmd=47,0,&Abandon ^r^c goto...
270 #cmd=90,0,&Abandon ^r^c goto:
271 cmd=50,0,toggle e&Xpert mode
272 cmd=49,0,read &Info file
273 cmd=18,2,&! <shell>
274 cmd=19,0,&.,list &Zapped rooms
275 cmd=52,0,&.,&Skip ^r^c goto:
276 cmd=56,0,&Page a user
277 cmd=58,0,&Mail
278 cmd=84,0,&Quiet mode
279 #
280 # We implement both <.G>oto and <J>ump commands which do the same thing, in
281 # order to please a wider audience of users.  Remove one if you want to.
282 #
283 cmd=20,0,&Jump:
284 cmd=20,0,&.,&Goto:
285 #
286 cmd=21,0,&.,&Help:
287 cmd=22,1,&.,&Aide,&Kill this room
288 cmd=23,1,&.,&Aide,&Edit this room
289 cmd=24,0,&.,&Aide,&Who knows room
290 cmd=25,2,&.,&Aide,&User,&Edit
291 cmd=96,2,&.,&Aide,&User,&Delete
292 cmd=26,2,&.,&Aide,&Validate new users
293 cmd=48,1,&.,&Aide,enter &Info file
294 cmd=27,0,&.,&Aide,&Room,&Invite user
295 cmd=28,0,&.,&Aide,&Room,&Kick out user
296 cmd=51,1,&.,&Aide,&File,&Delete
297 cmd=54,1,&.,&Aide,&File,&Move
298 cmd=70,2,&.,&Aide,&Message edit:
299 cmd=78,1,&.,&Aide,&Post
300 cmd=80,2,&.,&Aide,&System configuration,&General
301 cmd=82,2,&.,&Aide,&System configuration,&Internet
302 cmd=83,2,&.,&Aide,&System configuration,check &Message base
303 cmd=88,2,&.,&Aide,&System configuration,&Network
304 cmd=92,2,&.,&Aide,&System configuration,network &Filter list
305 cmd=85,2,&.,&Aide,&Terminate server,&Now
306 cmd=86,2,&.,&Aide,&Terminate server,&Scheduled
307 cmd=87,1,&.,&Aide,mailing &List recipients
308 cmd=94,1,&.,&Aide,mailing list &Digest recipients
309 cmd=89,1,&.,&Aide,&Network room sharing
310
311 cmd=29,0,&.,&Terminate,and &Quit
312 cmd=30,0,&.,&Terminate,and &Stay online
313
314 # The 'read user listing' command accepts two different formats.  The one with
315 # the trailing colon allows the user to enter a few characters to search for
316 # users with a partial match.
317 #
318 #cmd=32,0,&.,&Read,&User listing
319 cmd=32,0,&.,&Read,&User listing:
320
321 cmd=33,0,&.,&Read,&Textfile formatted
322 #
323 # Command 55 allows the user to save a downloaded file directly to the
324 # computer running the client software.  It is appropriate for a copy of
325 # this client running on the user's own computer.  It is NOT appropriate for
326 # public copies of the client that people will be dialing into.
327 #
328 #cmd=55,0,&.,&Read,&File
329 #
330 # Commands 34, 43, and 45 are appropriate for public copies of the client for
331 # dialup use.  They transfer downloaded files to a temporary file and then
332 # send them along to a dialup user using the popular protocols.
333 #
334 # cmd=34,0,&.,&Read,file using &Xmodem
335 # cmd=43,0,&.,&Read,file using &Ymodem
336 # cmd=45,0,&.,&Read,file using &Zmodem
337 cmd=31,0,&.,&Read,&File unformatted
338 #
339 cmd=13,0,&.,&Read,&New messages
340 cmd=12,0,&.,&Read,&Old msgs reverse
341 cmd=71,0,&.,read &Last:
342 cmd=9,0,&.,&Read,&Last five msgs
343 cmd=14,0,&.,&Read,&Directory
344 cmd=49,0,&.,&Read,&Info file
345 cmd=114,0,&.,&Read,&Configuration
346 cmd=115,0,&.,&Read,&System info
347 cmd=35,0,&.,&Enter,&Password
348 cmd=36,0,&.,&Enter,&ASCII message
349 cmd=37,0,&.,&Enter,&Configuration
350 cmd=38,0,&.,&Enter,a new &Room
351 cmd=39,0,&.,&Enter,&Textfile
352 cmd=77,0,&.,&Enter,&Username
353 # cmd=40,0,&.,&Enter,file using &Xmodem
354 # cmd=42,0,&.,&Enter,file using &Ymodem
355 # cmd=44,0,&.,&Enter,file using &Zmodem
356 #
357 # Command 57 is the local-file-upload command for users with their own
358 # copy of the clientware.  Commands 72-74 are for image uploads.
359 #
360 #cmd=57,0,&.,&Enter,&File
361 #cmd=72,0,&.,&Enter,&Image,user &Picture
362 #cmd=73,0,&.,&Enter,&Image,&Room banner
363 #cmd=74,0,&.,&Enter,&Image,&Floor label
364 #
365 cmd=41,0,&.,&Enter,re&Gistration
366 cmd=4,0,&.,&Enter,&Message
367 cmd=127,0,&.,&Enter,remote POP&3 accounts
368 cmd=128,0,&.,&Enter,&XML/RSS feed retrieval
369
370 # If you have an external editor defined, it will appear on command 46.
371 cmd=46,0,&.,&Enter,message with &Editor
372
373 # If you have multiple editors defined, they will appear on
374 # commands 46, 101, 102, 103... up to MAX_EDITORS (5 by default)
375 #cmd=101,0,&.,&Enter,message with &VI
376 #cmd=102,0,&.,&Enter,message with &Nano
377
378 cmd=59,0,&;,&Configure floor mode
379 cmd=60,0,&;,&Goto floor:
380 cmd=60,0,&.,&Enter,&Floor:
381 cmd=61,0,&;,&Skip to floor:
382 cmd=62,0,&;,&Zap (forget) floor
383 cmd=63,2,&;,&Aide,&Create floor
384 cmd=64,2,&;,&Aide,&Edit this floor
385 cmd=65,2,&;,&Aide,&Kill this floor
386 cmd=68,0,&;,&Known rooms
387 cmd=66,0,&.,&Enter,&Bio
388 cmd=67,0,&.,&Read,&Bio
389
390 cmd=79,0,&.,&Wholist,&Long
391 cmd=75,0,&.,&Wholist,&Roomname
392 cmd=76,0,&.,&Wholist,&Hostname
393 cmd=91,0,&.,&Wholist,&Active
394 cmd=93,0,&.,&Wholist,&Stealth mode
395
396 cmd=110,0,&+Next room
397 cmd=111,0,&-Previous room
398 cmd=112,0,&>Next floor
399 cmd=113,0,&<Previous floor
400 cmd=116,0,&.,skip to &+Next room
401 cmd=117,0,&.,skip to &-Previous room
402 cmd=118,0,&.,skip to &>Next floor
403 cmd=119,0,&.,skip to &<Previous floor
404
405 cmd=120,0,&.,&Known,&Anonymous rooms
406 cmd=121,0,&.,&Known,&Directory rooms
407 cmd=68,0,&.,&Known,&Floors
408 cmd=49,0,&.,&Known,room &Info
409 cmd=122,0,&.,&Known,&Match rooms:
410 cmd=123,0,&.,&Known,preferred &Only rooms
411 cmd=124,0,&.,&Known,&Private rooms
412 cmd=125,0,&.,&Known,&Read only rooms
413 cmd=126,0,&.,&Known,&Shared rooms
414 cmd=19,0,&.,&Known,&Zapped rooms
415
416 #
417 # Command 69 allows the user to enter a server command directly.  It is
418 # primarily for testing and not intended for general use.  Usually there
419 # is no need to enable it.
420 cmd=69,0,&@Server command:
421 #
422 # end of command set configuration
423 #