[X2Go-User] Vim

Robert Dinse nanook at eskimo.com
Fri Nov 17 03:52:19 CET 2017


      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 <ionic at ionic.de>
> To: Robert Dinse <nanook at eskimo.com>
> Cc: "x2go-user at lists.x2go.org" <x2go-user at 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
>
>


More information about the x2go-user mailing list