emaint: portage.util._argparse
[portage.git] / cnf / etc-update.conf
1 # /etc/etc-update.conf: config file for `etc-update` utility
2 # edit the lines below to your liking
3
4 # mode - 0 for text, 1 for menu (support incomplete)
5 # note that you need dev-util/dialog installed
6 mode="0"
7
8 # Whether to clear the term prior to each display
9 #clear_term="yes"
10 clear_term="no"
11
12 # Whether trivial/comment changes should be automerged
13 eu_automerge="yes"
14
15 # arguments used whenever rm is called
16 rm_opts="-i"
17
18 # arguments used whenever mv is called
19 mv_opts="-i"
20
21 # arguments used whenever cp is called
22 cp_opts="-i"
23
24 # set the pager for use with diff commands (this will
25 # cause the PAGER environment variable to be ignored)
26 #pager="less"
27
28 # For emacs-users (see NOTE_2)
29 # diff_command="eval emacs -nw --eval=\'\(ediff\ \"%file1\"\ \"%file2\"\)\'"
30 #using_editor=1
31
32 # vim-users: you CAN use vimdiff for diff_command. (see NOTE_1 and NOTE_2)
33 #diff_command="vim -d %file1 %file2"
34 #using_editor=1
35
36 # If using colordiff instead of diff, the less -R option may be required
37 # for correct display (see 'pager' setting above).
38 diff_command="diff -uN %file1 %file2"
39 using_editor=0
40
41
42 # vim-users: don't use vimdiff for merging (see NOTE_1)
43 merge_command="sdiff -s -o %merged %orig %new"
44
45 # EXPLANATION
46 #
47 # pager:
48 #
49 # Examples of pager usage:
50 #       pager="cat"     # don't use a pager
51 #       pager="less -E" # less
52 #       pager="more"    # more
53 #
54 #
55 # diff_command:
56 #
57 # Arguments:
58 #       %file1  [REQUIRED]
59 #       %file2  [REQUIRED]
60 #
61 # Examples of diff_command:
62 #       diff_command="diff -uN %file1 %file2"   # diff
63 #       diff_command="vim -d %file1 %file2"             # vimdiff
64 #
65 #
66 # merge_command:
67 #
68 # Arguments:
69 #       %orig   [REQUIRED]
70 #   %new    [REQUIRED]
71 #       %merged [REQUIRED]
72 #
73 # Examples of merge_command:
74 #       merge_command="sdiff -s -o %merged %old %new"   # sdiff
75 #
76
77 # NOTE_1: Editors such as vim/vimdiff are not usable for the merge_command
78 # because it is not known what filenames the produced files have (the user can
79 # choose while using those programs)
80
81 # NOTE_2: Make sure using_editor is set to "1" when using an editor as
82 # diff_command!