# This is an example configuration file for refdbc, the reference
# management client of RefDB
# RefDB is a reference database and bibliography tool, see
# http://refdb.sourceforge.net for further information

# Syntax rules of this file:
# 1. Each line contains a pair of variable name and variable value, 
#    separated by whitespace.
# 2. The hash (#) denotes the start of a comment, the rest of the line
#    will be ignored
# 3. The line ending must be Unix-style (LF) regardless of the operating
#    system

# Either the IP address or the hostname of the computer that runs the
# application server refdbd. Use 127.0.0.1 if refdbc and refdbd run
# on the same computer
serverip	127.0.0.1

# The port on which the application server refdbd listens
port	9734

# The default pager that is used to display the results. Use "stdout"
# to send the result to stdout
pager	less

# Toggle verbose mode on (t) or off (f). Barely implemented, though.
#verbose	f

# The username for the database access authentication 
#username	jdoe

# The password for the database access authentication. Use an
# asterisk to let refdbc ask for the password interactively
passwd	*

# The default database
#defaultdb	foo

# The full path of the base directory of your PDF or PostScript offprint
# repository. This path should not rely on shell expansion (don't use ~)
#pdfroot /home/foo/literature/

# The time in seconds which has to elapse before a stalled connection
# to the application server is taken down
# timeout 180

# The destination of the log information. Uncomment *one* of the
# following definitions. "file" uses the file specified with the
# logfile variable
#logdest stderr
#logdest syslog
logdest file

# The priority up to which messages are logged. Uncomment *one* of the
# following definitions. "emerg" will result in the fewest, "debug" in
# the most log messages
#loglevel emerg
#loglevel alert
#loglevel crit
#loglevel err
#loglevel warning
#loglevel notice
loglevel info
#loglevel debug

# The full path of a custom log file. This will be used if logdest is
# set accordingly
logfile /var/log/refdbc.log

# A list of additional fields which should be displayed by default in the
# reference output. This option is honored only by the "human-readable"
# backends such as scrn and html, as the other backends export all data by
# default. The list is a simple concatenation of the field names, or "ALL".
# Available fields are: N1 N2 NX AB AD PB CY RP SN LX U1 U2 U3 U4 U5 M1 M2 M3
#fields RPAB

# A list of fields which should be checked in the checkref command. If
# this option is not set or if its value is empty, all suitable fields are
# checked, maybe generating more output than than you want. The list is
# a simple concatenation of (pseudo) field names. Available fields are: 
# TX (all titles), PY (pubdate, volume, issue, pages), AX (all authors),
# JO (all journal names), CK, KW
# check_fields TXPY

# The full path or URL of a CSS file to beautify the output of the
# HTML backend
cssurl <pkgdatadir>/css/refdb.css

# The character encoding that should be used for RIS input. Unicode (UTF-8)
# is the choice which is best in line with how RefDB operates. Other popular
# encodings are e.g. ISO-8859-1 (aka Latin-1) or windows-1251
fromencoding UTF-8

# The character encoding that should be used for the output of the
# getref command. If this value is not set, the encoding of the database
# will be used without conversion
toencoding UTF-8

# end of refdbcrc
