]> git.deb.at Git - pkg/abook.git/blob - abookrc.5
abookrc update by TAKAHASHI Tamotsu
[pkg/abook.git] / abookrc.5
1 .TH ABOOKRC 5 "Jun 4, 2003"
2 .nh
3 .SH NAME
4 \fB$HOME/.abook/abookrc\fP \- configuration file for abook address book program
5 .SH DESCRIPTION
6 This manual page documents briefly the
7 .B abookrc
8 file.
9 .br
10 .B abookrc
11 is the (optional) configuration file for use with the
12 .B abook(1)
13 address book program.
14
15 .B abookrc
16 is stored in a user's $HOME/.abook directory. It follows a format of
17 \(lq\fBset option=value\fP\(rq.
18 The following information lists each of these options and the values they
19 may take.
20
21 If a variable is not set in 
22 .B abookrc
23 , a sensible default, as 
24 listed with the description below, will be used.
25
26 Comments in 
27 .B abookrc
28 are on lines beginning with '#'.
29
30 .SH VARIABLES
31
32 .TP
33 \fBautosave\fP=[true|false]
34 Defines whether the addressbook is automatically saved on exit. Default is true.
35
36 .TP
37 \fBshow_all_emails\fP=[true|false]
38 Defines whether all email addresses for a contact are shown in the main list view. Default is true
39
40 .TP
41 \fBemailpos\fP=column
42 Defines the screen column on the main list where the email address is to begin. Default is 25.
43
44 .TP
45 \fBextra_column\fP=field
46 Defines the variable to display in the extra (third) column on the main list. Default is "phone" (Home Phone).
47 .br
48 The following strings are used to represent commonly used \fIfield\fPs:
49 .br
50 -1                      disabled
51 .br
52 phone           Home Phone
53 .br
54 workphone               Work Phone
55 .br
56 fax                     Fax
57 .br
58 mobile          Mobile Phone
59 .br
60 nick                    Nick / Alias
61 .br
62 url                     URL
63 .br
64 notes           Notes
65
66 .TP
67 \fBextra_alternative\fP=field
68 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.
69
70 .TP
71 \fBextrapos\fP=column
72 Defines the screen column on the main list where the extra field is to begin. Default is 65.
73
74 .TP
75 \fBmutt_command\fP=command
76 Defines the command to start mutt. Default is "mutt".
77
78 .TP
79 \fBmutt_return_all_emails\fP=[true|false]
80 Defines whether to return all email addresses matching the search criteria to a mutt query. Default is true.
81
82 .TP
83 \fBprint_command\fP=command
84 Defines the command to used when printing the addressbook. Default is "lpr".
85
86 .TP
87 \fBfilesel_sort\fP=[true|false]
88 Defines whether to sort the files in the fileselector in alphabetical order. Default is false.
89
90 .TP
91 \fBwww_command\fP=command
92 Defines the command used to start the web browser to view a contact's URL. Default is "lynx".
93
94 .TP
95 \fBaddress_style\fP=[eu|uk|us]
96 Defines the style of address formatting to be used when exporting as text / printing the database (European, UK, or USA). Default is European ("eu").
97
98 .TP
99 \fBuse_ascii_only\fP=[true|false]
100 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.
101
102 .TP
103 \fBadd_email_prevent_duplicates\fP=[true|false]
104 Defines whether to avoid adding addresses already in data. Default is false.
105
106 .SH SAMPLE CONFIGURATION FILE
107
108 .nf
109 # sample abook configuration file
110 #
111
112 # Automatically save database on exit
113 set autosave=true
114
115 # Show all email addresses in list
116 set show_all_emails=true
117
118 # Screen column for email field to start
119 set emailpos=25
120
121 # Field to be used in the extra column
122 set extra_column=phone
123 # frequently used values:
124 #       -1              disabled
125 #       phone           Home Phone
126 #       workphone       Work Phone
127 #       fax             Fax
128 #       mobile          Mobile Phone
129 #       nick            Nick / Alias
130 #       url             URL
131
132 #
133 set extra_alternative=-1
134
135 # Screen column for the extra field to start
136 set extrapos=65
137
138 # Command used to start mutt
139 set mutt_command=mutt
140
141 # Return all email addresses to a mutt query
142 set mutt_return_all_emails=true
143
144 # Command used to print
145 set print_command=lpr
146
147 # Sort files in fileselector (alphabetic order)
148 set filesel_sort=false
149
150 # Command used to start the web browser
151 set www_command=lynx
152
153 # address style [eu|us|uk]
154 set address_style=eu
155
156 # use ASCII characters only
157 set use_ascii_only=false
158
159 # Prevent double entry
160 set add_email_prevent_duplicates=false
161
162 .fi
163
164 .SH SEE ALSO
165 .BR abook (1).
166 .br
167 .SH AUTHOR
168 This manual page was written by Alan Ford <alan@whirlnet.co.uk>.
169
170 .br
171 .B abook
172 was written by Jaakko Heinonen <jheinonen@users.sourceforge.net>