]> code.citadel.org Git - citadel.git/blob - citadel/citadel.rc
* Fixed minor bugs with color handling; added explicit support for handling
[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 BBSDIR>/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/UX 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=pico
31
32 # If you define PRINTCMD, it will be a pipe through which messages are
33 # printed when the user hits the <P>rint key after a message.
34 #
35 #printcmd=lpr
36
37 # If you define EXPCMD, it will be a pipe through which any incoming
38 # express messages will be printed.
39 #expcmd=xmessage -title "Express Message" -center -buttons OK -file -
40
41 # If LOCAL_SCREEN_DIMENSIONS is set to 1, then the screen dimensions will
42 # be requested from the underlying operating system instead of asking the
43 # user.  This works when the user has his/her own copy of the client, it
44 # works for xterms, it sometimes works for telnet sessions, but it doesn't
45 # work for dialup connections.  Generally you should set this to 1 for a
46 # private copy of the client or 0 for a shared copy of the client.
47 #
48 local_screen_dimensions=1
49
50 # ANSI_COLOR should be set to on/off/auto/user to control the use of
51 # color on the screen.  If it is set to "auto" then an autodetect will be
52 # attempted.  If it is set to "user" then it's a user-configurable option.
53 #
54 ansi_color=user
55
56 # USE_BACKGROUND controls Citadel's use of the background.  If it is turned
57 # off, then Citadel will set the background to black.  When it is turned on,
58 # the background will be unchanged.  This is most useful with "transparent"
59 # terminals.  Color must be on (see above) or this option has no effect.
60 #
61 use_background=off
62
63 # PROMPT_CONTROL should be set to on/off/user to control whether the <N>ext
64 # and <S>top keys are active when displaying the paginator prompt.  If it
65 # is set to "user" then it's a user-configurable option.
66 #
67 prompt_control=user
68
69 # If DISPLAY_MESSAGE_NUMBERS is set to 1, then messages will be displayed
70 # with their message numbers in the header.  This is ugly but some
71 # people seem to like it anyway...
72 #
73 display_message_numbers=0
74
75 # The FORCE_MAIL_PROMPTS directive causes mail rooms to always display a
76 # prompt after each message, even if the user has prompts turned off.
77 #
78 force_mail_prompts=1
79
80 # USE_FLOORS determines whether the user sees floors, or a flat room space.
81 # Set it to YES to always use floors, NO to never use floors, or DEFAULT
82 # to use the setting in the user's configuration (which is normally the case).
83 #
84 use_floors=DEFAULT
85
86 # BEEP should be set to 1 if you wish the terminal to beep when an express
87 # message (page) comes in, otherwise set it to 0.
88 #
89 beep=1
90
91 # ALLOW_ATTACHMENTS should be set to 1 if you wish the user to be able to
92 # attach files to messages and/or save attachments to disk while reading
93 # messages.  (DANGER: do NOT enable this for "safe" public clients!)
94 #
95 allow_attachments=0
96
97 # IDLE_THRESHOLD is the amount of time a user does nothing before being
98 # listed as "idle" on the who list.  The default is 900 seconds (15 minutes).
99 #
100 idle_threshold=900
101
102 # If you set REMEMBER_PASSWORDS to 1, the Citadel client will offer to
103 # remember your user name and password for every Citadel server you access,
104 # automatically logging in with them on subsequent visits. 
105 # (DANGER: do NOT enable this for "safe" public clients!)
106 #
107 remember_passwords=0
108
109 # Optionally, you can force the same username and password everywhere.  This
110 # obviously isn't as robust as the password manager.
111 #
112 #username=My User Name
113 #password=mypassword
114
115 # If URLCMD is defined, users can hit 'U' after reading a message which
116 # contains embedded URL's, and the command will be executed.  Usually this
117 # will be used to remote-control a web browser.  (Do not enable this command
118 # for 'safe' public clients.)
119 #
120 #urlcmd=netscape -remote "openURL(%s)"
121
122 # If GOTMAILCMD is defined, the specified command will be executed.  This
123 # might be nice for playing sounds or providing any other type of notification.
124 #
125 #gotmailcmd=play gotmail.wav
126
127
128 # MESSAGE READING SEMANTICS (experimental)
129 #
130 # A new set of message reading semantics is now available.  If you set
131 # alternate_semantics, the following changes are made:
132 #
133 # * Messages are marked as read when you read them, rather than when you
134 #   leave the room.  This means read <N>ew will display a new message
135 #   at most once, unless last old on new is turned on.
136 # * Reading <F>orward or <R>everse does not mark messages as read.
137 # * When you leave a room with <G>oto, <J>ump, etc., only messages that
138 #   were in the room when you arrived are marked as read.  The original
139 #   semantics mark all messages read that were in the room at the time
140 #   you leave the room.  This occasionally causes messages to be "lost."
141 # * When you leave with <T>erminate, no additional messages are marked
142 #   as read.
143 # * The <S>kip and <A>bandon commands are reversed.
144 #
145 # This set of semantics should make Citadel easier to use on very busy
146 # systems, where many messages may be posted while reading.  Users
147 # accustomed to D.O.C. or its variants will want to set this option.
148 #
149 alternate_semantics=yes
150
151
152 # COMMAND SET CONFIGURATION
153 #
154 # All lines starting with "cmd=" are considered to be commands.  This allows
155 # mapping of keytstrokes to various functions of the client.
156 #
157 # Format of each line:
158 # cmd_num,access,keystrokes
159 #
160 # Keep a copy of the original version of this file around as a reference
161 # for the command numbers.  They are not documented anywhere else.
162 #
163 # Access is:  0 (all users), 1 (aides or room aides), 2 (aides only).
164 # Please be aware that it is futile to attempt to gain unauthorized access to
165 # the administrative functions of the system by changing all the access levels
166 # to 0.  If you do this, you'll simply be able to enter a lot of commands that
167 # will fail at the server ... so don't bother trying. :-)
168 #
169 # The actual key to be pressed should be prefaced with an & (ampersand)
170 # character.  Ampersands are interesting and useful characters and you should
171 # use them as much as possible.  Commands requiring more than one keystroke
172 # should be entered as multiple fields.
173 #
174 # If the last keystroke string ends with a : (colon), then the command
175 # will finish by allowing the user to enter a string.
176 #
177 # In keystroke names, the string ^r will be replaced by the name of the
178 # current room.  The string ^c will be replaced by a comma.
179 #
180 # Commands may contain no more than five keystrokes.
181 #
182 # Note that the following characters are illegal in commands:
183 #  , (comma)    : (colon)     ^ (caret)     & (ampersand)
184 #
185 #
186 cmd=1,0,&? (Help)
187 cmd=1,0,&Help
188 cmd=2,0,&*Doorway
189 cmd=3,0,&Chat
190 #
191 # If you want to use an external editor by default, set <E>nter message
192 # to command #46 (external editor) instead of #4 (built-in editor).
193 cmd=4,0,&Enter message
194 #
195 cmd=5,0,&Goto
196 cmd=6,0,&Skip ^r
197 cmd=7,0,&Zap (forget) room
198 cmd=8,0,&Known rooms
199 cmd=9,0,&Last five msgs
200 cmd=10,0,read &Forward
201 cmd=11,0,read &Reverse
202 cmd=12,0,read &Old
203 cmd=13,0,read &New
204 cmd=14,0,read &Directory
205 cmd=15,0,&Terminate
206 cmd=16,0,&Ungoto
207 cmd=17,0,&Who is online
208 cmd=47,0,&Abandon ^r^c goto...
209 #cmd=90,0,&Abandon ^r^c goto:
210 cmd=50,0,toggle e&Xpert mode
211 cmd=49,0,read &Info file
212 cmd=18,2,&! <shell>
213 cmd=19,0,&.,list &Zapped rooms
214 cmd=52,0,&.,&Skip ^r^c goto:
215 cmd=56,0,&Page a user
216 cmd=58,0,&Mail
217 cmd=84,0,&Quiet mode
218 #
219 # We implement both <.G>oto and <J>ump commands which do the same thing, in
220 # order to please a wider audience of users.  Remove one if you want to.
221 #
222 cmd=20,0,&Jump:
223 cmd=20,0,&.,&Goto:
224 #
225 cmd=21,0,&.,&Help:
226 cmd=22,1,&.,&Aide,&Kill this room
227 cmd=23,1,&.,&Aide,&Edit this room
228 cmd=24,0,&.,&Aide,&Who knows room
229 cmd=25,2,&.,&Aide,edit &User
230 cmd=26,2,&.,&Aide,&Validate new users
231 cmd=48,1,&.,&Aide,enter &Info file
232 cmd=27,0,&.,&Aide,&Room,&Invite user
233 cmd=28,0,&.,&Aide,&Room,&Kick out user
234 cmd=51,1,&.,&Aide,&File,&Delete
235 cmd=53,1,&.,&Aide,&File,&Send over net
236 cmd=54,1,&.,&Aide,&File,&Move
237 cmd=70,2,&.,&Aide,&Message edit:
238 cmd=78,1,&.,&Aide,&Post
239 cmd=80,2,&.,&Aide,&System configuration,&General
240 cmd=82,2,&.,&Aide,&System configuration,&Internet
241 cmd=83,2,&.,&Aide,&System configuration,check &Message base
242 cmd=88,2,&.,&Aide,&System configuration,&Network
243 cmd=92,2,&.,&Aide,&System configuration,network &Filter list
244 cmd=85,2,&.,&Aide,&Terminate server,&Now
245 cmd=86,2,&.,&Aide,&Terminate server,&Scheduled
246 cmd=87,1,&.,&Aide,mailing &List recipients
247 cmd=94,1,&.,&Aide,mailing list &Digest recipients
248 cmd=89,1,&.,&Aide,&Network room sharing
249
250 cmd=29,0,&.,&Terminate,and &Quit
251 cmd=30,0,&.,&Terminate,and &Stay online
252
253 # The 'read user listing' command accepts two different formats.  The one with
254 # the trailing colon allows the user to enter a few characters to search for
255 # users with a partial match.
256 #
257 cmd=32,0,&.,&Read,&User listing
258 cmd=32,0,&.,&Read,&User listing:
259
260 cmd=33,0,&.,&Read,&Textfile formatted
261 #
262 # Command 55 allows the user to save a downloaded file directly to the
263 # computer running the client software.  It is appropriate for a copy of
264 # this client running on the user's own computer.  It is NOT appropriate for
265 # public copies of the client that people will be dialing into.
266 #
267 #cmd=55,0,&.,&Read,&File
268 #
269 # Commands 34, 43, and 45 are appropriate for public copies of the client for
270 # dialup use.  They transfer downloaded files to a temporary file and then
271 # send them along to a dialup user using the popular protocols.
272 #
273 cmd=34,0,&.,&Read,file using &Xmodem
274 cmd=43,0,&.,&Read,file using &Ymodem
275 cmd=45,0,&.,&Read,file using &Zmodem
276 cmd=31,0,&.,&Read,&File unformatted
277 #
278 cmd=13,0,&.,&Read,&New messages
279 cmd=12,0,&.,&Read,&Old msgs reverse
280 cmd=71,0,&.,read &Last:
281 cmd=9,0,&.,&Read,&Last five msgs
282 cmd=14,0,&.,&Read,&Directory
283 cmd=49,0,&.,&Read,&Info file
284 cmd=35,0,&.,&Enter,&Password
285 cmd=36,0,&.,&Enter,&ASCII message
286 cmd=37,0,&.,&Enter,&Configuration
287 cmd=38,0,&.,&Enter,a new &Room
288 cmd=39,0,&.,&Enter,&Textfile
289 cmd=77,0,&.,&Enter,&Username
290 cmd=40,0,&.,&Enter,file using &Xmodem
291 cmd=42,0,&.,&Enter,file using &Ymodem
292 cmd=44,0,&.,&Enter,file using &Zmodem
293 #
294 # Command 57 is the local-file-upload command for users with their own
295 # copy of the clientware.  Commands 72-74 are for image uploads.
296 #
297 #cmd=57,0,&.,&Enter,&File
298 #cmd=72,0,&.,&Enter,&Image,user &Picture
299 #cmd=73,0,&.,&Enter,&Image,&Room banner
300 #cmd=74,0,&.,&Enter,&Image,&Floor label
301 #
302 cmd=41,0,&.,&Enter,re&Gistration
303 cmd=4,0,&.,&Enter,&Message
304 cmd=46,0,&.,&Enter,message with &Editor
305 #
306 cmd=59,0,&;,&Configure floor mode
307 cmd=60,0,&;,&Goto floor:
308 cmd=61,0,&;,&Skip to floor:
309 cmd=62,0,&;,&Zap (forget) floor
310 cmd=63,2,&;,&Aide,&Create floor
311 cmd=64,2,&;,&Aide,&Edit this floor
312 cmd=65,2,&;,&Aide,&Kill this floor
313 cmd=68,0,&;,&Known rooms
314 cmd=66,0,&.,&Enter,&Bio
315 cmd=67,0,&.,&Read,&Bio
316
317 cmd=79,0,&.,&Wholist,&Long
318 cmd=75,0,&.,&Wholist,&Roomname
319 cmd=76,0,&.,&Wholist,&Hostname
320 cmd=91,0,&.,&Wholist,&Active
321 cmd=93,0,&.,&Wholist,&Stealth mode
322
323 #
324 # Command 69 allows the user to enter a server command directly.  It is
325 # primarily for testing and not intended for general use.  Usually there
326 # is no need to enable it.
327 cmd=69,0,&@Server command:
328 #
329 # end of command set configuration
330 #