]> git.deb.at Git - pkg/abook.git/blob - sample.abookrc
Imported Upstream version 0.5.6+cvs1
[pkg/abook.git] / sample.abookrc
1 # sample abook configuration file
2 # see abookrc(5) for detailed explanation
3
4 ##
5 ##  Commands
6 ## ==========
7
8
9 #  Setting a variable
10 # --------------------
11 #
12 # syntax: set <option> = <value>
13
14 # See below for the list of available variables.
15
16
17 #  Defining a new custom field
18 # -----------------------------
19 #
20 # syntax: field <identifier> = <human readable name> [ , <type> ]
21 #
22 # with <type> being one of 'string' (default), 'emails', 'list', or 'day'
23 #
24 # Example of field definitions:
25 field pager = Pager
26 field address_lines = Address, list
27 field birthday = Birthday, day
28
29
30 #  Defining a view/tab
31 # ---------------------
32 #
33 # view <view name> = <field1> [ , <field2>, ... ]
34 #
35 # with <fieldN> being the identifier of a field declared with the 'field'
36 # command, or the identifier of a standard field.
37 #
38 # Standard fields:
39 #    name, email,
40 #    address, address2, city, state, zip, country,
41 #    phone, workphone, fax, mobile,
42 #    nick, url, notes, anniversary
43 #
44 # Note: if you don't define any view, abook will use a default display based
45 #       on the above standard fields.
46 #
47 # Example of views:
48 view CONTACT = name, email
49 view ADDRESS = address_lines, city, state, zip, country
50 view PHONE = phone, workphone, pager, mobile, fax
51 view OTHER = url, birthday
52
53
54
55 ##
56 ##  Variables
57 ## ===========
58
59 # Automatically save database on exit
60 set autosave=true
61
62 # Specify how fields not declared with the 'field' command nor
63 # in a view should be preserved while loading an abook database.
64 #
65 # It must be one of 'all', 'standard' (default), or 'none'.
66 #   * 'all': preserve any completely unknown field.
67 #   * 'standard': only preserve the standard fields (see a list in the
68 #                 description of the 'view' command) and the legacy
69 #                 'custom[1-5]' fields.
70 #   * 'none': discards any unknown field.
71 set preserve_fields=standard
72
73 # Show all email addresses in list
74 set show_all_emails=true
75
76 # Screen column for email field to start
77 set emailpos=25
78
79 # Field to be used in the extra column
80 set extra_column=phone
81 # frequently used values:
82 #       -1              disabled
83 #       phone           Home Phone
84 #       workphone       Work Phone
85 #       fax             Fax
86 #       mobile          Mobile Phone
87 #       nick            Nick / Alias
88 #       url             URL
89
90 # Specify an alternative field to be displayed in the extra
91 # column if there is no data for the field specified in
92 # extra_column for a particular item.  
93 set extra_alternative=-1
94
95 # Screen column for the extra field to start
96 set extrapos=65
97
98 # Command used to start mutt
99 set mutt_command=mutt
100
101 # Return all email addresses to a mutt query
102 set mutt_return_all_emails=true
103
104 # Command used to print
105 set print_command=lpr
106
107 # Command used to start the web browser
108 set www_command=lynx
109
110 # address style [eu|us|uk]
111 set address_style=eu
112
113 # use ASCII characters only
114 set use_ascii_only=false
115
116 set add_email_prevent_duplicates=false
117
118 # field to be used with "sort by field" command
119 set sort_field=nick
120
121 # show cursor in main display
122 set show_cursor=false
123