Gentoo Archives: gentoo-commits

From: Sven Eden <sven.eden@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/ufed:master commit in: /
Date: Wed, 26 Feb 2014 10:26:39
Message-Id: 1393405536.480c846b9efe02fc772193d36b24de0ba452c3e6.yamakuzure@gentoo
1 commit: 480c846b9efe02fc772193d36b24de0ba452c3e6
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Wed Feb 26 09:05:36 2014 +0000
4 Commit: Sven Eden <sven.eden <AT> gmx <DOT> de>
5 CommitDate: Wed Feb 26 09:05:36 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=480c846b
7
8 Updated the documentation for 0.91 release.
9
10 ---
11 TODO | 4 ++--
12 ufed-curses-help.c | 15 +++++++++++----
13 ufed.8.in | 24 ++++++++++++++++--------
14 3 files changed, 29 insertions(+), 14 deletions(-)
15
16 diff --git a/TODO b/TODO
17 index f1d5283..0b74593 100644
18 --- a/TODO
19 +++ b/TODO
20 @@ -46,7 +46,7 @@ These have been finished :
21 Compilation failed in require at /usr/sbin/ufed line 9.
22 BEGIN failed--compilation aborted at /usr/sbin/ufed line 9.
23 - (0.90) Filter masked flags reliably.
24 -- (0.90) Add an option to re-show masked USE flags, but in parantheses.
25 +- (0.90) Add an option to re-show masked USE flags, but in parentheses.
26 - (0.90) Add toggling package list display.
27 - (0.90) Handle setups where /etc/portage/make.conf is a directory.
28 - (0.90) Read PORTDIR and PORTDIR_OVERLAY from portageq, too.
29 @@ -56,6 +56,6 @@ These have been finished :
30 - (0.91) Make key help buttons dynamic (text, placement and width).
31 - (0.91) Replace status indicator with dynamic status line.
32 - (0.91) ufed does not error out when USE in make.conf is exceptionally large.
33 -- (0.91) The deprecated 'portageq envvar' is no longer used for to determine
34 +- (0.91) The deprecated 'portageq envvar' is no longer used to determine
35 PORTDIR and PORTDIR_OVERLAY, eix is used if available and portageq
36 with the get_repo(s|_path) command as a fallback.
37
38 diff --git a/ufed-curses-help.c b/ufed-curses-help.c
39 index ea0c586..e627166 100644
40 --- a/ufed-curses-help.c
41 +++ b/ufed-curses-help.c
42 @@ -120,7 +120,9 @@ static void init_lines(void)
43 "",
44 "ufed will present you with a list of descriptions for each USE flag. If a "
45 "description is too long to fit on your screen, you can use the Left and Right "
46 -"arrow keys to scroll the descriptions.",
47 +"arrow keys to scroll the descriptions. Alternatively you can change the "
48 +"description to show a reduced variant using the F10 key, or change the "
49 +"display to wrap long lines into multiple lines using the F11 key.",
50 "",
51 "Use the Up and Down arrow keys, the Page Up and Page Down keys, the Home and "
52 "End keys, or start typing the name of a flag to select it.",
53 @@ -147,6 +149,8 @@ static void init_lines(void)
54 "",
55 " F10: Toggle whether to display the full description or a stripped version.",
56 "",
57 +" F11: Enable / disable wrapping of long lines.",
58 +"",
59 "The stripped version has various wordings like \"Enables support for\" or "
60 "\"Build and install the\" at the beginning of the description removed.",
61 "Although somewhat crippled, the descriptions key information then needs "
62 @@ -154,13 +158,13 @@ static void init_lines(void)
63 "description, to determine a flags meaning without scrolling the text in most "
64 "cases; even on low resolution displays.",
65 "",
66 -"The default is to display the full description preceeded by the list of "
67 +"The default is to display the full description preceded by the list of "
68 "affected packages.",
69 "",
70 "Below the list of descriptions an indicator line is displayed that shows the "
71 "current setting of all filters and settings.",
72 "The order and layout is:",
73 -"[Scope|State|Mask|Order|Description] with",
74 +"[Scope|State|Mask|Order|Description|Wrapping] with",
75 "Scope:",
76 " glob : Global USE flags are shown.",
77 " loca : Local USE flags are shown.",
78 @@ -179,6 +183,9 @@ static void init_lines(void)
79 "Description:",
80 " orig : The original full description is shown.",
81 " stri : The stripped version of the description is shown.",
82 +"Wrapping:",
83 +" long : The original one-line layout with horizontal scrolling.",
84 +" wrap : Wrapped lines that do not need horizontal scrolling.",
85 "",
86 "If ncurses is installed with the \"gpm\" use flag enabled, you can use your "
87 "mouse to navigate and to toggle the settings, too.",
88 @@ -246,7 +253,7 @@ static void init_lines(void)
89 "file(s) and if it is a - then that flag was unset in that file(s).",
90 "",
91 "Flags marked as [+] or [-] will be saved in your make.conf when you leave "
92 -"the program with an Enter.",
93 +"the program by hitting the 'Enter' key",
94 "",
95 "You can change the order of the (packages) and the description with the F9 "
96 "key.",
97
98 diff --git a/ufed.8.in b/ufed.8.in
99 index 59cbfaa..6ed3cc1 100644
100 --- a/ufed.8.in
101 +++ b/ufed.8.in
102 @@ -1,12 +1,12 @@
103 -.TH "UFED" "8" "09 Apr 2013" "UFED 0.90" "UFED"
104 +.TH "UFED" "8" "26 Feb 2014" "UFED 0.91" "UFED"
105 .SH "NAME"
106 ufed \- Gentoo Linux USE flags editor
107 .SH "SYNOPSIS"
108 .B ufed
109 .SH "INTRODUCTION"
110 -UFED is a simple program designed to help you configure the
111 -systems USE flags (see below) to your liking. To enable or
112 -disable a flag highlight it and hit space.
113 +UFED is a simple program designed to help you configure the systems USE flags
114 +(see below) to your liking. To enable or disable a flag highlight it and hit
115 +space.
116
117 ufed edits the USE flag settings in your make.conf file only. It can not be
118 used to edit your package.use file.
119 @@ -91,7 +91,9 @@ or 'f' in the defaults column (see "Display layout" below) indicates this.
120
121 ufed will present you with a list of descriptions for each USE flag. If a
122 description is too long to fit on your screen, you can use the Left and Right
123 -arrow keys to scroll the descriptions.
124 +arrow keys to scroll the descriptions. Alternatively you can change the
125 +description to show a reduced variant using the F10 key, or change the display
126 +to wrap long lines into multiple lines using the F11 key.
127
128 Use the Up and Down arrow keys, the Page Up and Page Down keys, the Home and
129 End keys, or start typing the name of a flag to select it.
130 @@ -117,6 +119,8 @@ will change to.
131 F9: Toggle the order of the affected package list and the description.
132 .br
133 F10: Toggle whether to display the full description or a stripped version.
134 +.br
135 +F11: Enable / disable wrapping of long lines.
136
137 The stripped version has various wordings like "Enables support for" or
138 "Build and install the" at the beginning of the description removed.
139 @@ -125,7 +129,7 @@ less space and allows, with switched order of the package list and the
140 description, to determine a flags meaning without scrolling the text in most
141 cases; even on low resolution displays.
142
143 -The default is to display the full description preceeded by the list of
144 +The default is to display the full description preceded by the list of
145 affected packages.
146
147 Below the list of descriptions an indicator line is displayed that shows the
148 @@ -133,7 +137,7 @@ current setting of all filters and settings.
149 .br
150 The order and layout is:
151 .br
152 -[Scope|State|Mask|Order|Description] with
153 +[Scope|State|Mask|Order|Description|Wrapping] with
154 .br
155 Scope:
156 glob : Global USE flags are shown.
157 @@ -157,6 +161,10 @@ Order:
158 Description:
159 orig : The original full description is shown.
160 stri : The stripped version of the description is shown.
161 +.br
162 +Wrapping:
163 + long : The original one-line layout with horizontal scrolling.
164 + wrap : Wrapped lines that do not need horizontal scrolling.
165
166 If ncurses is installed with the "gpm" use flag enabled, you can use your
167 mouse to navigate and to toggle the settings, too.
168 @@ -230,7 +238,7 @@ set in that file(s), if it is a space then the flag was not mentioned in that
169 file(s) and if it is a - then that flag was unset in that file(s).
170
171 Flags marked as [+] or [-] will be saved in your make.conf when you leave the
172 -program with an Enter.
173 +program by hitting the 'Enter' key.
174
175 You can change the order of the (packages) and the description with the F9 key.