-\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
.SH DESCRIPTION
This manual page documents briefly the
-.B .abookrc
+.B abookrc
file.
.br
file.
.br
-.B .abookrc
+.B abookrc
is the (optional) configuration file for use with the
.B abook(1)
address book program.
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
The following information lists each of these options and the values they
may take.
If a variable is not set in
-.B .abookrc
+.B abookrc
, a sensible default, as
listed with the description below, will be used.
Comments in
, a sensible default, as
listed with the description below, will be used.
Comments in
-.B .abookrc
+.B abookrc
are on lines beginning with '#'.
.SH VARIABLES
are on lines beginning with '#'.
.SH VARIABLES
@@ -42,29+43,29 @@ Defines the screen column on the main list where the email address is to begin.
.TP
\fBextra_column\fP=field
.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
.br
-The following numbers are used to represent commonly used \fIfield\fPs:
+The following strings are used to represent commonly used \fIfield\fPs:
.br
.br
--1 = disabled
+-1 disabled
.br
.br
- 7 = Home Phone
+phone Home Phone
.br
.br
- 8 = Work Phone
+workphone Work Phone
.br
.br
- 9 = Fax
+fax Fax
.br
.br
-10 = Mobile Phone
+mobile Mobile Phone
.br
.br
-11 = Nick / Alias
+nick Nick / Alias
.br
.br
-12 = URL
+url URL
.br
.br
-13 = Notes
+notes Notes
.TP
\fBextra_alternative\fP=field
.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
.TP
\fBextrapos\fP=column
@@ -82,10+83,6 @@ Defines whether to return all email addresses matching the search criteria to a
\fBprint_command\fP=command
Defines the command to used when printing the addressbook. Default is "lpr".
\fBprint_command\fP=command
Defines the command to used when printing the addressbook. Default is "lpr".
-.TP
-\fBfilesel_sort\fP=[true|false]
-Defines whether to sort the files in the fileselector in alphabetical order. Default is false.
-
.TP
\fBwww_command\fP=command
Defines the command used to start the web browser to view a contact's URL. Default is "lynx".
.TP
\fBwww_command\fP=command
Defines the command used to start the web browser to view a contact's URL. Default is "lynx".
@@ -98,6+95,10 @@ Defines the style of address formatting to be used when exporting as text / prin
\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.
\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
.SH SAMPLE CONFIGURATION FILE
.nf
@@ -105,51+106,54 @@ This option allows you to force Abook use only ASCII characters. This option is