Re: [X2Go-User] Vim

2017-11-17 Thread Robert Dinse


 There is no entry in there for either ex or vi.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Ulrich Sibiller wrote:


Date: Fri, 17 Nov 2017 10:24:04 +0100
From: Ulrich Sibiller <ul...@gmx.de>
To: Robert Dinse <nan...@eskimo.com>
Cc: Mihai Moldovan <io...@ionic.de>,
"x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

On Fri, Nov 17, 2017 at 9:04 AM, Robert Dinse <nan...@eskimo.com> wrote:


 I prefer ex / vi to be nvi rather than vim but easy enough to rm links
and re-create them.


Check the /etc/alternatives system.

Uli


___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-17 Thread Ulrich Sibiller
On Fri, Nov 17, 2017 at 9:04 AM, Robert Dinse  wrote:
>
>  I prefer ex / vi to be nvi rather than vim but easy enough to rm links
> and re-create them.

Check the /etc/alternatives system.

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Ulrich Sibiller
On Fri, Nov 17, 2017 at 3:53 AM, Mihai Moldovan  wrote:
> * On 11/17/2017 03:52 AM, Robert Dinse wrote:
>>   I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
>> that is not sufficient in Centos6.
>
> No, because, like I said, both CentOS 6's and 7's sudo packages hard-depend 
> upon
> vim-minimal currently.

Well, having vim on the hdd is not really hurting, it is ~1MB in size.

nvi from EPEL does not conflict with vim-minimal:

$ rpm -qlp ./x86_64/Packages/n/nvi-1.81.6-2.el6.x86_64.rpm

/usr/bin/nex
/usr/bin/nvi
/usr/bin/nvi.recover
/usr/bin/nview
...

$ rpm -ql vim-minimal
/bin/ex
/bin/rvi
/bin/rview
/bin/vi
/bin/view
/etc/virc


So where's the problem? Just install vim and ignore it (I don't like it myself).

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Mihai Moldovan
* On 11/17/2017 03:52 AM, Robert Dinse wrote:
>   I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
> that is not sufficient in Centos6.

No, because, like I said, both CentOS 6's and 7's sudo packages hard-depend upon
vim-minimal currently.



Mihai



signature.asc
Description: OpenPGP digital signature
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 Yes in ubuntu it seems fine with nvi.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Mihai Moldovan wrote:


Date: Fri, 17 Nov 2017 03:27:11 +0100
From: Mihai Moldovan <io...@ionic.de>
To: Jason Heeris <jason.hee...@gmail.com>
Cc: Robert Dinse <nan...@eskimo.com>,
"x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

* On 11/17/2017 03:24 AM, Jason Heeris wrote:

If it's anything like Debian, sudo might depend on an editor (*any* editor) so
that sudoedit works, and vim is just the first one in a dependency OR condition.
Do you have another console editor installed (like Pico, Micro, Emacs)?


Yes, in theory. Though see my previous mail.


They currently hard-depend upon vim-minimal.


Maybe Debian and derivatives solved this in a better way through their
alternatives subsystem.



Mihai



___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 I have EDITOR set to /bin/ex and VISUAL set to /bin/vi but apparently
that is not sufficient in Centos6.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Mihai Moldovan wrote:


Date: Fri, 17 Nov 2017 03:25:57 +0100
From: Mihai Moldovan <io...@ionic.de>
To: Robert Dinse <nan...@eskimo.com>
Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

* On 11/17/2017 03:17 AM, Robert Dinse wrote:

  Should be but centos6 is an ancient kludge.  I really should move this
stuff to a modern ubuntu installation.


I've just looked it up. sudo on CentOS 7 depends upon vim-minimal, although a
comment in the ChangeLog mentions "visudo requires vim-minimal or setting EDITOR
to something useful (#68605)"

The bug report referenced is https://bugzilla.redhat.com/show_bug.cgi?id=68605 -
and it looks like this is where vim-minimal was added as a dependency.


So it looks like even CentOS 7 has this bug.

Working around it is difficult, though, since without a proper EDITOR
environment variable set, depending on vim-minimal makes sense to get visudo
working.

The alternative would be defaulting to nano for the EDITOR variable and
depending upon nano, but this will just shift the problem to users who hate 
nano.


Just to be clear - this issue is present on both CentOS 6 and 7... and I figure
Debian (or Ubuntu) don't fare better, but I haven't tested these systems.



Mihai



___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 Yes, I have NVI installed, but it seems not happy with that.  When I use
the depends on function within add/remove software, it specifically lists
vim-minimal as required by sudo.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Jason Heeris wrote:


Date: Fri, 17 Nov 2017 13:24:52 +1100
From: Jason Heeris <jason.hee...@gmail.com>
To: Mihai Moldovan <io...@ionic.de>
Cc: Robert Dinse <nan...@eskimo.com>,
"x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

On 17 November 2017 at 13:14, Mihai Moldovan <io...@ionic.de> wrote:

sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It

should be

editor-agnostic.


If it's anything like Debian, sudo might depend on an editor (*any* editor)
so that sudoedit works, and vim is just the first one in a dependency OR
condition. Do you have another console editor installed (like Pico, Micro,
Emacs)?

- Jason


___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Mihai Moldovan
* On 11/17/2017 03:24 AM, Jason Heeris wrote:
> If it's anything like Debian, sudo might depend on an editor (*any* editor) so
> that sudoedit works, and vim is just the first one in a dependency OR 
> condition.
> Do you have another console editor installed (like Pico, Micro, Emacs)?

Yes, in theory. Though see my previous mail.


They currently hard-depend upon vim-minimal.


Maybe Debian and derivatives solved this in a better way through their
alternatives subsystem.



Mihai



signature.asc
Description: OpenPGP digital signature
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Mihai Moldovan
* On 11/17/2017 03:17 AM, Robert Dinse wrote:
>   Should be but centos6 is an ancient kludge.  I really should move this
> stuff to a modern ubuntu installation.

I've just looked it up. sudo on CentOS 7 depends upon vim-minimal, although a
comment in the ChangeLog mentions "visudo requires vim-minimal or setting EDITOR
to something useful (#68605)"

The bug report referenced is https://bugzilla.redhat.com/show_bug.cgi?id=68605 -
and it looks like this is where vim-minimal was added as a dependency.


So it looks like even CentOS 7 has this bug.

Working around it is difficult, though, since without a proper EDITOR
environment variable set, depending on vim-minimal makes sense to get visudo
working.

The alternative would be defaulting to nano for the EDITOR variable and
depending upon nano, but this will just shift the problem to users who hate 
nano.


Just to be clear - this issue is present on both CentOS 6 and 7... and I figure
Debian (or Ubuntu) don't fare better, but I haven't tested these systems.



Mihai



signature.asc
Description: OpenPGP digital signature
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Jason Heeris
On 17 November 2017 at 13:14, Mihai Moldovan  wrote:
> sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It
should be
> editor-agnostic.

If it's anything like Debian, sudo might depend on an editor (*any* editor)
so that sudoedit works, and vim is just the first one in a dependency OR
condition. Do you have another console editor installed (like Pico, Micro,
Emacs)?

- Jason
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 Should be but centos6 is an ancient kludge.  I really should move this
stuff to a modern ubuntu installation.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Mihai Moldovan wrote:


Date: Fri, 17 Nov 2017 03:14:35 +0100
From: Mihai Moldovan <io...@ionic.de>
To: Robert Dinse <nan...@eskimo.com>
Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

* On 11/17/2017 03:13 AM, Robert Dinse wrote:

  On CentOS6, if I remove vim, it removes x2goserver and
x2goserver-xsession.  If I re-install these, it install vim-minimal.

  Yum tells me it requires sudo and vim-minimal.


That makes sense. x2goserver does indeed depend upon sudo, but certainly not on
vim itself.

sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be
editor-agnostic.



Mihai




___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Mihai Moldovan
* On 11/17/2017 03:13 AM, Robert Dinse wrote:
>   On CentOS6, if I remove vim, it removes x2goserver and 
> x2goserver-xsession.  If I re-install these, it install vim-minimal.
> 
>   Yum tells me it requires sudo and vim-minimal.

That makes sense. x2goserver does indeed depend upon sudo, but certainly not on
vim itself.

sudo depending on vim sounds like a bug in EPEL 6/CentOS 6 instead. It should be
editor-agnostic.



Mihai




signature.asc
Description: OpenPGP digital signature
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 On CentOS6, if I remove vim, it removes x2goserver and 
x2goserver-xsession.  If I re-install these, it install vim-minimal.


 Yum tells me it requires sudo and vim-minimal.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Fri, 17 Nov 2017, Mihai Moldovan wrote:


Date: Fri, 17 Nov 2017 02:51:34 +0100
From: Mihai Moldovan <io...@ionic.de>
To: Robert Dinse <nan...@eskimo.com>,
"x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org>
Subject: Re: [X2Go-User] Vim

* On 11/17/2017 02:44 AM, Robert Dinse wrote:

  Why does x2goserver on CentOS6 require vim?  I delete vim and install
nvi because I detest the former and prefer the latter.  Then x2goserver
re-installs vim, ARGH.


Our (upstream) x2goserver packages do not depend upon vim.

I've also checked the version packaged in EPEL 6 directly, and this likewise
does not depend upon vim.


Whatever is happening, it's not due to the x2goserver packages.

Investigate further, I guess?



Mihai



___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

[X2Go-User] Vim

2017-11-16 Thread Robert Dinse


 Why does x2goserver on CentOS6 require vim?  I delete vim and install
nvi because I detest the former and prefer the latter.  Then x2goserver
re-installs vim, ARGH.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user