Re: [gentoo-user] Vim puts command in when starting up

2016-09-24 Thread Daniel Frey
On 09/24/2016 12:30 PM, Daniel Frey wrote:
> On 09/23/2016 02:33 PM, William Ernesto Cárdenas Gómez wrote:
>> El Fri, 23 Sep 2016 09:24:02 -0700
>> Daniel Frey  escribió:
>>> On 09/23/2016 08:00 AM, pc0147 Sistemas Will_ecg wrote:
 El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:  
> For some reason, on one box, whenever I start vim it puts
> "://" on the command line. I've looked in vimrc and
> can't see any reference to this. Hitting Enter yields "E486:
> Pattern not found
> :"
>
> I've noticed that it's been behaving strangely but I cannot figure
> out
> the cause. Last time I noticed something odd was when I commented
> out something in package.mask (with #) and saved it. Portage
> complained it
> was invalid and when I opened it again the '#' changed to 'g'.
>
> I've removed and reinstalled vim packages, no luck.
>
> Has anyone seen this?
>
> Dan
>  

 I had the same problem, the only solution I found was to add the
 vimrc for user ~.vimrc and at least set one thing. I only set the
 colorscheme and now works fine, the problem is that you should set
 it for all your users, in my case was my personal user and root.
   
>>>
>>> I tried this, with "set nowrap" in a .vimrc, and it made no
>>> difference. What I find baffling is that out of six machines only one
>>> is doing this!
>>>
>>> Dan
>>>
>>
>> I've just test again, and I tried with some other options and only
>> works with colorscheme. I don't know why.
>>
> 
> You are right, this works. I wonder why? I'll look around for a bug report.
> 
> Dan
> 

There is a bug: https://bugs.gentoo.org/show_bug.cgi?id=559322

Dan



Re: [gentoo-user] Vim puts command in when starting up

2016-09-24 Thread Daniel Frey
On 09/23/2016 02:33 PM, William Ernesto Cárdenas Gómez wrote:
> El Fri, 23 Sep 2016 09:24:02 -0700
> Daniel Frey  escribió:
>> On 09/23/2016 08:00 AM, pc0147 Sistemas Will_ecg wrote:
>>> El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:  
 For some reason, on one box, whenever I start vim it puts
 "://" on the command line. I've looked in vimrc and
 can't see any reference to this. Hitting Enter yields "E486:
 Pattern not found
 :"

 I've noticed that it's been behaving strangely but I cannot figure
 out
 the cause. Last time I noticed something odd was when I commented
 out something in package.mask (with #) and saved it. Portage
 complained it
 was invalid and when I opened it again the '#' changed to 'g'.

 I've removed and reinstalled vim packages, no luck.

 Has anyone seen this?

 Dan
  
>>>
>>> I had the same problem, the only solution I found was to add the
>>> vimrc for user ~.vimrc and at least set one thing. I only set the
>>> colorscheme and now works fine, the problem is that you should set
>>> it for all your users, in my case was my personal user and root.
>>>   
>>
>> I tried this, with "set nowrap" in a .vimrc, and it made no
>> difference. What I find baffling is that out of six machines only one
>> is doing this!
>>
>> Dan
>>
> 
> I've just test again, and I tried with some other options and only
> works with colorscheme. I don't know why.
> 

You are right, this works. I wonder why? I'll look around for a bug report.

Dan



Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread William Ernesto Cárdenas Gómez
El Fri, 23 Sep 2016 09:24:02 -0700
Daniel Frey  escribió:
> On 09/23/2016 08:00 AM, pc0147 Sistemas Will_ecg wrote:
> > El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:  
> >> For some reason, on one box, whenever I start vim it puts
> >> "://" on the command line. I've looked in vimrc and
> >> can't see any reference to this. Hitting Enter yields "E486:
> >> Pattern not found
> >> :"
> >>
> >> I've noticed that it's been behaving strangely but I cannot figure
> >> out
> >> the cause. Last time I noticed something odd was when I commented
> >> out something in package.mask (with #) and saved it. Portage
> >> complained it
> >> was invalid and when I opened it again the '#' changed to 'g'.
> >>
> >> I've removed and reinstalled vim packages, no luck.
> >>
> >> Has anyone seen this?
> >>
> >> Dan
> >>  
> > 
> > I had the same problem, the only solution I found was to add the
> > vimrc for user ~.vimrc and at least set one thing. I only set the
> > colorscheme and now works fine, the problem is that you should set
> > it for all your users, in my case was my personal user and root.
> >   
> 
> I tried this, with "set nowrap" in a .vimrc, and it made no
> difference. What I find baffling is that out of six machines only one
> is doing this!
> 
> Dan
> 

I've just test again, and I tried with some other options and only
works with colorscheme. I don't know why.



Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread Daniel Frey
On 09/23/2016 08:00 AM, pc0147 Sistemas Will_ecg wrote:
> El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:
>> For some reason, on one box, whenever I start vim it puts
>> "://" on the command line. I've looked in vimrc and can't
>> see any reference to this. Hitting Enter yields "E486: Pattern not
>> found
>> :"
>>
>> I've noticed that it's been behaving strangely but I cannot figure
>> out
>> the cause. Last time I noticed something odd was when I commented out
>> something in package.mask (with #) and saved it. Portage complained
>> it
>> was invalid and when I opened it again the '#' changed to 'g'.
>>
>> I've removed and reinstalled vim packages, no luck.
>>
>> Has anyone seen this?
>>
>> Dan
>>
> 
> I had the same problem, the only solution I found was to add the vimrc
> for user ~.vimrc and at least set one thing. I only set the colorscheme
> and now works fine, the problem is that you should set it for all your
> users, in my case was my personal user and root.
> 

I tried this, with "set nowrap" in a .vimrc, and it made no difference.
What I find baffling is that out of six machines only one is doing this!

Dan



Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread Daniel Frey
On 09/23/2016 12:29 AM, Franz Fellner wrote:
> Could you try
> vim -u NONE
> to see if there is an issue with your config or one of your plugins?
> 

Yes, that started up correctly, for all users on the affected machine. I
have several systems at home and only one machine is affected this way.

I searched for vimrc on my system and the only result is /etc/vim/vimrc.
I renamed this file to something else, and it made no difference.

I also copied /etc/vimrc from a machine that doesn't exhibit this
behaviour and it also made no difference.

The .viminfo on the box shows:



# hlsearch on (H) or off (h):
~h
# Last Search Pattern:
~MSLe0~/

# Command Line History (newest to oldest):
:q
|2,0,1474647273,,"q"
://00
|2,0,1474569768,,"//00"

# Search String History (newest to oldest):
? 
|2,1,1474569768,,""



However, I did not type any of those commands nor did I search for them.

The only additional package I installed was the english dictionary, I
removed that and no difference.

It is showing this behaviour for versions 7.4.769 and 8.0.0005.

Dan




Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread pc0147 Sistemas Will_ecg
El jue, 22-09-2016 a las 08:32 -0700, Daniel Frey escribió:
> For some reason, on one box, whenever I start vim it puts
> "://" on the command line. I've looked in vimrc and can't
> see any reference to this. Hitting Enter yields "E486: Pattern not
> found
> :"
> 
> I've noticed that it's been behaving strangely but I cannot figure
> out
> the cause. Last time I noticed something odd was when I commented out
> something in package.mask (with #) and saved it. Portage complained
> it
> was invalid and when I opened it again the '#' changed to 'g'.
> 
> I've removed and reinstalled vim packages, no luck.
> 
> Has anyone seen this?
> 
> Dan
> 

I had the same problem, the only solution I found was to add the vimrc
for user ~.vimrc and at least set one thing. I only set the colorscheme
and now works fine, the problem is that you should set it for all your
users, in my case was my personal user and root.
-- 
Will_ecg 



Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread Franz Fellner
Could you try
vim -u NONE
to see if there is an issue with your config or one of your plugins?

On Thu, 22 Sep 2016 11:28:34 -0700, Daniel Frey  wrote:
> On 09/22/2016 09:17 AM, Matthias Gerstner wrote:
> > Hi,
> > 
> >> For some reason, on one box, whenever I start vim it puts
> >> "://" on the command line. I've looked in vimrc and can't
> >> see any reference to this. Hitting Enter yields "E486: Pattern not found
> >> :"
> > 
> > I've had a similar issues for the past months with my vim. It was
> > related to my using the "urxvt" terminal and its TERM variable being set
> > to "rxvt-unicode".
> > 
> > In my case the effect didn't always show up but only under certain
> > conditions. I remember having seen a bug report for vim back then but
> > can't seem to find it right now. There are similar, older bug reports,
> > however, like this one:
> > 
> > https://bbs.archlinux.org/viewtopic.php?id=199362
> > 
> > I also remember there was a bugfix to vim back then to fix the issue.
> > But the version containing the bugfix was not yet stable in portage and
> > so I've lived with the occasional bug until now. I'm currently using
> > vim-7.4.769 and I think the bugfix was contained just a few micro
> > versions later if I'm not mistaken.
> 
> Hmm, I've just upgraded to vim v8 and it is still doing it. I'm quite
> confused.
> 
> Dan
> 
> 
> 
> 
-- 



Re: [gentoo-user] Vim puts command in when starting up

2016-09-23 Thread Matthias Gerstner
Hi,

> Hmm, I've just upgraded to vim v8 and it is still doing it. I'm quite
> confused.

I'm sorry to hear that. I didn't try an update myself yet. Maybe the
cause of your issue is a different one then.

I think the cause of this effect is in the area of the terminal handling
and termcap information within vim. You may try experimenting with
different terminal emulators and TERM variable values (for example you
can test whether the bug still triggers with 'export TERM=dump' set).
Maybe you can find a workaround this way. Or gather enough information
for a bug report.

Best regards

Matthias

-- 
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
Entwicklung
 
NCP engineering GmbH
Dombühler Straße 2, D-90449, Nürnberg
Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg
 
Telefon: +49 911 9968-153, Fax: +49 911 9968-229
E-Mail: matthias.gerst...@ncp-e.com
Internet: http://www.ncp-e.com



signature.asc
Description: Digital signature


Re: [gentoo-user] Vim puts command in when starting up

2016-09-22 Thread Daniel Frey
On 09/22/2016 09:17 AM, Matthias Gerstner wrote:
> Hi,
> 
>> For some reason, on one box, whenever I start vim it puts
>> "://" on the command line. I've looked in vimrc and can't
>> see any reference to this. Hitting Enter yields "E486: Pattern not found
>> :"
> 
> I've had a similar issues for the past months with my vim. It was
> related to my using the "urxvt" terminal and its TERM variable being set
> to "rxvt-unicode".
> 
> In my case the effect didn't always show up but only under certain
> conditions. I remember having seen a bug report for vim back then but
> can't seem to find it right now. There are similar, older bug reports,
> however, like this one:
> 
> https://bbs.archlinux.org/viewtopic.php?id=199362
> 
> I also remember there was a bugfix to vim back then to fix the issue.
> But the version containing the bugfix was not yet stable in portage and
> so I've lived with the occasional bug until now. I'm currently using
> vim-7.4.769 and I think the bugfix was contained just a few micro
> versions later if I'm not mistaken.

Hmm, I've just upgraded to vim v8 and it is still doing it. I'm quite
confused.

Dan




Re: [gentoo-user] Vim puts command in when starting up

2016-09-22 Thread Matthias Gerstner
Hi,

> For some reason, on one box, whenever I start vim it puts
> "://" on the command line. I've looked in vimrc and can't
> see any reference to this. Hitting Enter yields "E486: Pattern not found
> :"

I've had a similar issues for the past months with my vim. It was
related to my using the "urxvt" terminal and its TERM variable being set
to "rxvt-unicode".

In my case the effect didn't always show up but only under certain
conditions. I remember having seen a bug report for vim back then but
can't seem to find it right now. There are similar, older bug reports,
however, like this one:

https://bbs.archlinux.org/viewtopic.php?id=199362

I also remember there was a bugfix to vim back then to fix the issue.
But the version containing the bugfix was not yet stable in portage and
so I've lived with the occasional bug until now. I'm currently using
vim-7.4.769 and I think the bugfix was contained just a few micro
versions later if I'm not mistaken.

Hope this helps you somewhat.

Best regards

Matthias

-- 
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
Entwicklung
 
NCP engineering GmbH
Dombühler Straße 2, D-90449, Nürnberg
Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg
 
Telefon: +49 911 9968-153, Fax: +49 911 9968-229
E-Mail: matthias.gerst...@ncp-e.com
Internet: http://www.ncp-e.com


signature.asc
Description: Digital signature