-.TH ABOOKRC 5 "Jan 2, 2001"
+.TH ABOOKRC 5 "Jun 4, 2003"
.nh
.SH NAME
-\fB$HOME/.abookrc\fP \- configuration file for abook address book program
+\fB$HOME/.abook/abookrc\fP \- configuration file for abook address book program
.SH DESCRIPTION
This manual page documents briefly the
-.B .abookrc
+.B abookrc
file.
.br
-.B .abookrc
+.B abookrc
is the (optional) configuration file for use with the
.B abook(1)
address book program.
-.B .abookrc
-is stored in a user's $HOME directory. It follows a format of option=value.
+.B abookrc
+is stored in a user's $HOME/.abook directory. It follows a format of
+\(lq\fBset option=value\fP\(rq.
The following information lists each of these options and the values they
may take.
If a variable is not set in
-.B .abook.conf
+.B abookrc
, a sensible default, as
listed with the description below, will be used.
Comments in
-.B .abook.conf
+.B abookrc
are on lines beginning with '#'.
.SH VARIABLES
.TP
\fBextra_column\fP=field
-Defines the variable to display in the extra (third) column on the main list. Default is 7 (Home Phone).
+Defines the variable to display in the extra (third) column on the main list. Default is "phone" (Home Phone).
.br
-The following numbers are used to represent commonly used \fIfield\fPs:
+The following strings are used to represent commonly used \fIfield\fPs:
.br
--1 = disabled
+-1 disabled
.br
- 7 = Home Phone
+phone Home Phone
.br
- 8 = Work Phone
+workphone Work Phone
.br
- 9 = Fax
+fax Fax
.br
-10 = Mobile Phone
+mobile Mobile Phone
.br
-11 = Nick / Alias
+nick Nick / Alias
.br
-12 = URL
+url URL
.br
-13 = Notes
+notes Notes
.TP
\fBextra_alternative\fP=field
-This is an optional setting that allows you to specify an alternative field to be displayed in the extra (third) column if there is no data for the field specified in extra_column for a particular item. The numerical codes for the fields are the same as above. Please note that the data shown where the alternative field has been used will NOT be marked differently in any way from the rest of the extra column. There is no default.
+This is an optional setting that allows you to specify an alternative field to be displayed in the extra (third) column if there is no data for the field specified in extra_column for a particular item. The strings for the fields are the same as above. Please note that the data shown where the alternative field has been used will NOT be marked differently in any way from the rest of the extra column. There is no default.
.TP
\fBextrapos\fP=column
\fBaddress_style\fP=[eu|uk|us]
Defines the style of address formatting to be used when exporting as text / printing the database (European, UK, or USA). Default is European ("eu").
+.TP
+\fBuse_ascii_only\fP=[true|false]
+This option allows you to force Abook use only ASCII characters. This option is useful if your terminal doesn't support non-ASCII characters. Default is false.
+
+.TP
+\fBadd_email_prevent_duplicates\fP=[true|false]
+Defines whether to avoid adding addresses already in data. Default is false.
+
.SH SAMPLE CONFIGURATION FILE
.nf
#
# Automatically save database on exit
-autosave=true
+set autosave=true
# Show all email addresses in list
-show_all_emails=true
+set show_all_emails=true
# Screen column for email field to start
-emailpos=25
+set emailpos=25
# Field to be used in the extra column
-extra_column=7
+set extra_column=phone
# frequently used values:
-# -1 = disabled
-# 7 = Home Phone
-# 8 = Work Phone
-# 9 = Fax
-# 10 = Mobile Phone
-# 11 = Nick / Alias
-# 12 = URL
+# -1 disabled
+# phone Home Phone
+# workphone Work Phone
+# fax Fax
+# mobile Mobile Phone
+# nick Nick / Alias
+# url URL
#
-extra_alternative=-1
+set extra_alternative=-1
# Screen column for the extra field to start
-extrapos=65
+set extrapos=65
# Command used to start mutt
-mutt_command=mutt
+set mutt_command=mutt
# Return all email addresses to a mutt query
-mutt_return_all_emails=true
+set mutt_return_all_emails=true
# Command used to print
-print_command=lpr
+set print_command=lpr
# Sort files in fileselector (alphabetic order)
-filesel_sort=false
+set filesel_sort=false
# Command used to start the web browser
-www_command=lynx
+set www_command=lynx
# address style [eu|us|uk]
-address_style=eu
+set address_style=eu
+
+# use ASCII characters only
+set use_ascii_only=false
+
+# Prevent double entry
+set add_email_prevent_duplicates=false
.fi
.br
.B abook
-was written by Jaakko Heinonen <jheinonen@bigfoot.com>
+was written by Jaakko Heinonen <jheinonen@users.sourceforge.net>