SMTP-Client: strip newlines from smtp replies when setting them as Statusmessage.
[citadel.git] / citadel / citadel.rc
index ba53899b188a7c6a23a01a698962b2dae72c2675..351f5b57c79cfbf92e572ea59821d00200e1dad6 100644 (file)
@@ -1,33 +1,24 @@
 #
-# $Id$
-#
 # This file allows full customization of the user interface.
 #
 # The standard client looks for this file in:
 # 1. $HOME/.citadelrc
-# 2. <compiled BBSDIR>/citadel.rc
+# 2. <compiled CTDLDIR>/citadel.rc
 # 3. /etc/citadel.rc
 # 4. <current directory>/citadel.rc
 
 # Set ENCRYPT to yes to force SSL/TLS encryption when connecting to a
-# Citadel/UX server, even if the server is on the same machine as the
+# Citadel server, even if the server is on the same machine as the
 # client.  Set it to no to disable SSL/TLS encryption.  The default is to
 # enable encryption for remote systems and to disable encryption for
 # systems on the same machine as the client.
 encrypt=default
 
-# Set FULLSCREEN to yes to (attempt to) use full-screen curses mode.
-# This mode presents a status line and a few other niceties.  Some
-# people might not like this, so you can turn it off here or with the
-# -s command line option.  The default is to use full screen if the
-# terminal supports it.
-fullscreen=no
-
 # Set EDITOR to the name of an external editor to be used for entering
 # messages.  If you want the external editor to be used by default, be sure
 # to reflect this in the command set below.
 #
-editor=pico
+# editor=vi
 
 # If you define PRINTCMD, it will be a pipe through which messages are
 # printed when the user hits the <P>rint key after a message.
@@ -35,17 +26,8 @@ editor=pico
 #printcmd=lpr
 
 # If you define EXPCMD, it will be a pipe through which any incoming
-# express messages will be printed.
-#expcmd=xmessage -title "Express Message" -center -buttons OK -file -
-
-# If LOCAL_SCREEN_DIMENSIONS is set to 1, then the screen dimensions will
-# be requested from the underlying operating system instead of asking the
-# user.  This works when the user has his/her own copy of the client, it
-# works for xterms, it sometimes works for telnet sessions, but it doesn't
-# work for dialup connections.  Generally you should set this to 1 for a
-# private copy of the client or 0 for a shared copy of the client.
-#
-local_screen_dimensions=1
+# instant messages will be printed.
+#expcmd=xmessage -title "Instant message" -center -buttons OK -file -
 
 # ANSI_COLOR should be set to on/off/auto/user to control the use of
 # color on the screen.  If it is set to "auto" then an autodetect will be
@@ -60,6 +42,10 @@ ansi_color=user
 #
 use_background=off
 
+# STATUS_LINE will keep an informative status line on the top of the screen,
+# but it doesn't work on all terminals (Mac OS is particularly bad at this).
+status_line=off
+
 # PROMPT_CONTROL should be set to on/off/user to control whether the <N>ext
 # and <S>top keys are active when displaying the paginator prompt.  If it
 # is set to "user" then it's a user-configurable option.
@@ -117,36 +103,43 @@ remember_passwords=0
 # will be used to remote-control a web browser.  (Do not enable this command
 # for 'safe' public clients.)
 #
-#urlcmd=netscape -remote "openURL(%s)"
+# This one ought to work on any Linux that has the "Portland" API's installed.
+# If properly configured, xdg-open will open the URL in the user's preferred
+# web browser.
+#urlcmd=xdg-open "%s"
+#
+# This one works really well on a Macintosh -- it opens URL's in whatever
+# browser you have configured as the system default.
+#urlcmd=open "%s"
+
+# If OPENCMD is defined, users can hit 'O' after reading a message which
+# contains attachments, to open the attachments using that command.  This
+# allows attachments to be opened directly from the Citadel client without
+# having to first save them in a file.  The "allow_attachments" option (see
+# above) must be enabled in order for this to work.
+# 
+# xdg-open works on most newer Linux systems
+opencmd=xdg-open "%s"
+#
+# This probably will work on a Macintosh
+#opencmd=open "%s"
 
 # If GOTMAILCMD is defined, the specified command will be executed.  This
 # might be nice for playing sounds or providing any other type of notification.
 #
 #gotmailcmd=play gotmail.wav
 
-
-# MESSAGE READING SEMANTICS (experimental)
-#
-# A new set of message reading semantics is now available.  If you set
-# alternate_semantics, the following changes are made:
+# If IMAGECMD is defined, users can hit 'I' to view images attached to a
+# message.  (Do not enable this command for public clients.)
 #
-# * Messages are marked as read when you read them, rather than when you
-#   leave the room.  This means read <N>ew will display a new message
-#   at most once, unless last old on new is turned on.
-# * Reading <F>orward or <R>everse does not mark messages as read.
-# * When you leave a room with <G>oto, <J>ump, etc., only messages that
-#   were in the room when you arrived are marked as read.  The original
-#   semantics mark all messages read that were in the room at the time
-#   you leave the room.  This occasionally causes messages to be "lost."
-# * When you leave with <T>erminate, no additional messages are marked
-#   as read.
-# * The <S>kip and <A>bandon commands are reversed.
-#
-# This set of semantics should make Citadel easier to use on very busy
-# systems, where many messages may be posted while reading.  Users
-# accustomed to D.O.C. or its variants will want to set this option.
+# Possible image viewers follow
+
+# xdg-open - on Linux systems with the Portland API's installed, this ought
+# to open the image in the user's preferred viewer.
+#imagecmd=xdg-open "%s"
 #
-alternate_semantics=yes
+# Preview on Mac OS X
+#imagecmd=/Applications/Preview.app/Contents/MacOS/Preview "%s"
 
 
 # COMMAND SET CONFIGURATION
@@ -185,7 +178,6 @@ alternate_semantics=yes
 #
 cmd=1,0,&? (Help)
 cmd=1,0,&Help
-cmd=2,0,&*Doorway
 cmd=3,0,&Chat
 #
 # If you want to use an external editor by default, set <E>nter message
@@ -227,19 +219,18 @@ cmd=21,0,&.,&Help:
 cmd=22,1,&.,&Aide,&Kill this room
 cmd=23,1,&.,&Aide,&Edit this room
 cmd=24,0,&.,&Aide,&Who knows room
-cmd=25,2,&.,&Aide,edit &User
+cmd=25,2,&.,&Aide,&User,&Edit
+cmd=96,2,&.,&Aide,&User,&Delete
 cmd=26,2,&.,&Aide,&Validate new users
 cmd=48,1,&.,&Aide,enter &Info file
 cmd=27,0,&.,&Aide,&Room,&Invite user
 cmd=28,0,&.,&Aide,&Room,&Kick out user
 cmd=51,1,&.,&Aide,&File,&Delete
-cmd=53,1,&.,&Aide,&File,&Send over net
 cmd=54,1,&.,&Aide,&File,&Move
 cmd=70,2,&.,&Aide,&Message edit:
 cmd=78,1,&.,&Aide,&Post
 cmd=80,2,&.,&Aide,&System configuration,&General
 cmd=82,2,&.,&Aide,&System configuration,&Internet
-cmd=83,2,&.,&Aide,&System configuration,check &Message base
 cmd=88,2,&.,&Aide,&System configuration,&Network
 cmd=92,2,&.,&Aide,&System configuration,network &Filter list
 cmd=85,2,&.,&Aide,&Terminate server,&Now
@@ -255,7 +246,7 @@ cmd=30,0,&.,&Terminate,and &Stay online
 # the trailing colon allows the user to enter a few characters to search for
 # users with a partial match.
 #
-cmd=32,0,&.,&Read,&User listing
+#cmd=32,0,&.,&Read,&User listing
 cmd=32,0,&.,&Read,&User listing:
 
 cmd=33,0,&.,&Read,&Textfile formatted
@@ -271,9 +262,9 @@ cmd=33,0,&.,&Read,&Textfile formatted
 # dialup use.  They transfer downloaded files to a temporary file and then
 # send them along to a dialup user using the popular protocols.
 #
-cmd=34,0,&.,&Read,file using &Xmodem
-cmd=43,0,&.,&Read,file using &Ymodem
-cmd=45,0,&.,&Read,file using &Zmodem
+cmd=34,0,&.,&Read,file using &Xmodem
+cmd=43,0,&.,&Read,file using &Ymodem
+cmd=45,0,&.,&Read,file using &Zmodem
 cmd=31,0,&.,&Read,&File unformatted
 #
 cmd=13,0,&.,&Read,&New messages
@@ -282,15 +273,17 @@ cmd=71,0,&.,read &Last:
 cmd=9,0,&.,&Read,&Last five msgs
 cmd=14,0,&.,&Read,&Directory
 cmd=49,0,&.,&Read,&Info file
+cmd=114,0,&.,&Read,&Configuration
+cmd=115,0,&.,&Read,&System info
 cmd=35,0,&.,&Enter,&Password
 cmd=36,0,&.,&Enter,&ASCII message
 cmd=37,0,&.,&Enter,&Configuration
 cmd=38,0,&.,&Enter,a new &Room
 cmd=39,0,&.,&Enter,&Textfile
 cmd=77,0,&.,&Enter,&Username
-cmd=40,0,&.,&Enter,file using &Xmodem
-cmd=42,0,&.,&Enter,file using &Ymodem
-cmd=44,0,&.,&Enter,file using &Zmodem
+cmd=40,0,&.,&Enter,file using &Xmodem
+cmd=42,0,&.,&Enter,file using &Ymodem
+cmd=44,0,&.,&Enter,file using &Zmodem
 #
 # Command 57 is the local-file-upload command for users with their own
 # copy of the clientware.  Commands 72-74 are for image uploads.
@@ -302,10 +295,20 @@ cmd=44,0,&.,&Enter,file using &Zmodem
 #
 cmd=41,0,&.,&Enter,re&Gistration
 cmd=4,0,&.,&Enter,&Message
+cmd=127,0,&.,&Enter,remote POP&3 accounts
+cmd=128,0,&.,&Enter,&XML/RSS feed retrieval
+
+# If you have an external editor defined, it will appear on command 46.
 cmd=46,0,&.,&Enter,message with &Editor
-#
+
+# If you have multiple editors defined, they will appear on
+# commands 46, 101, 102, 103... up to MAX_EDITORS (5 by default)
+#cmd=101,0,&.,&Enter,message with &VI
+#cmd=102,0,&.,&Enter,message with &Nano
+
 cmd=59,0,&;,&Configure floor mode
 cmd=60,0,&;,&Goto floor:
+cmd=60,0,&.,&Enter,&Floor:
 cmd=61,0,&;,&Skip to floor:
 cmd=62,0,&;,&Zap (forget) floor
 cmd=63,2,&;,&Aide,&Create floor
@@ -321,6 +324,26 @@ cmd=76,0,&.,&Wholist,&Hostname
 cmd=91,0,&.,&Wholist,&Active
 cmd=93,0,&.,&Wholist,&Stealth mode
 
+cmd=110,0,&+Next room
+cmd=111,0,&-Previous room
+cmd=112,0,&>Next floor
+cmd=113,0,&<Previous floor
+cmd=116,0,&.,skip to &+Next room
+cmd=117,0,&.,skip to &-Previous room
+cmd=118,0,&.,skip to &>Next floor
+cmd=119,0,&.,skip to &<Previous floor
+
+cmd=120,0,&.,&Known,&Anonymous rooms
+cmd=121,0,&.,&Known,&Directory rooms
+cmd=68,0,&.,&Known,&Floors
+cmd=49,0,&.,&Known,room &Info
+cmd=122,0,&.,&Known,&Match rooms:
+cmd=123,0,&.,&Known,preferred &Only rooms
+cmd=124,0,&.,&Known,&Private rooms
+cmd=125,0,&.,&Known,&Read only rooms
+cmd=126,0,&.,&Known,&Shared rooms
+cmd=19,0,&.,&Known,&Zapped rooms
+
 #
 # Command 69 allows the user to enter a server command directly.  It is
 # primarily for testing and not intended for general use.  Usually there