]> git.deb.at Git - pkg/abook.git/blob - sample.abookrc
Upload 0.6.1-2 to unstable
[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 'date'
23 #
24 # Example of field definitions:
25 field pager = Pager
26 field address_lines = Address, list
27 field birthday = Birthday, date
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 # Format of an entry's line in the main abook screen
77 #
78 # The below example displays:
79 #  * the content of the 'name' field (with a maximum of 22 characters)
80 #  * the first of the 'phone', 'workphone' or 'mobile' fields
81 #    happening not to be empty (right aligned within 12 characters)
82 #  * the 'anniversary' field, with no length limit
83 set index_format=" {name:25} {phone:-12|workphone|mobile} {anniversary}"
84
85 # Command used to start mutt
86 set mutt_command=mutt
87
88 # Return all email addresses to a mutt query
89 set mutt_return_all_emails=true
90
91 # Command used to print
92 set print_command=lpr
93
94 # Command used to start the web browser
95 set www_command=lynx
96
97 # address style [eu|us|uk]
98 set address_style=eu
99
100 # use ASCII characters only
101 set use_ascii_only=false
102
103 set add_email_prevent_duplicates=false
104
105 # field to be used with "sort by field" command
106 set sort_field=nick
107
108 # show cursor in main display
109 set show_cursor=false
110
111 # colors
112 set use_colors = true
113 set color_header_fg = red
114 set color_header_bg = default
115 set color_list_header_fg = blue
116 set color_list_header_bg = default