1 |
On Freitag 02 Oktober 2009, Arthur D. wrote: |
2 |
> >> You appear to be demonstrating that you don't fully understand the |
3 |
> >> problem: |
4 |
> >> |
5 |
> >> 828 ~ $ grep nano /usr/portage/app-admin/sudo/sudo-1.7.2_p1.ebuild |
6 |
> >> # XXX: /bin/vi may not be available, make nano visudo's default. |
7 |
> >> --with-editor=/bin/nano \ |
8 |
> > |
9 |
> > How so? That config option for sudo sets the DEFAULT editor, what to use |
10 |
> > if nothing is defined in the config file or environment variable. That's |
11 |
> > what both my text and the portion of the ebuild that you have quoted |
12 |
> > state. It in no way forces the use of nano in order to use visudo. If |
13 |
> > that were the case, DEPENDS would specify nano instead of accepting |
14 |
> > virtual/editor. |
15 |
> |
16 |
> Agree. There's no need in making vim as depends. But in other hand in |
17 |
> vanilla sudo |
18 |
> package there's VI hardcoded by default. And MOST if not ALL users who |
19 |
> have VIM |
20 |
> installed on their shiny Gentoo systems expect that VIsudo will behave as |
21 |
> it did |
22 |
> for long tim ago. There are historical (or some other) reasons for making |
23 |
> VI default |
24 |
> editor for this utility. It's like they don't respect not only endusers |
25 |
> favours but |
26 |
> the developers' too, no? |
27 |
> |
28 |
> WHY NOT CHECK if vim binary is in place and ONLY THEN (when it's obviously |
29 |
> absent) |
30 |
> hardcode the Gentoo Best Award of Choice Editor? |
31 |
> |
32 |
> I repeat once more. |
33 |
> Every user who has VIM installed on theirs systems is forced to do extra |
34 |
> configuration, to make sudo work as expected, just because someone prefer |
35 |
> other editor and thinks that vanilla choice is bad. Isn't that just stupid? |
36 |
> |
37 |
|
38 |
why is it always vim users who get their panties in a knot about nothing? |
39 |
|
40 |
just set EDITOR, you are done. |
41 |
|
42 |
You might be surprised to know, that most people do not have vim installed. |
43 |
But you are forcing others to adhere to something? |
44 |
|
45 |
Things change. Maybe vim users should realize that too |