* [gentoo-user] Vim puts command in when starting up
@ 2016-09-22 15:32 Daniel Frey
2016-09-22 16:17 ` Matthias Gerstner
2016-09-23 15:00 ` pc0147 Sistemas Will_ecg
0 siblings, 2 replies; 11+ messages in thread
From: Daniel Frey @ 2016-09-22 15:32 UTC (permalink / raw
To: gentoo-user
For some reason, on one box, whenever I start vim it puts
":0000/0000/0000" on the command line. I've looked in vimrc and can't
see any reference to this. Hitting Enter yields "E486: Pattern not found
:0000"
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-22 15:32 [gentoo-user] Vim puts command in when starting up Daniel Frey
@ 2016-09-22 16:17 ` Matthias Gerstner
2016-09-22 18:28 ` Daniel Frey
2016-09-23 15:00 ` pc0147 Sistemas Will_ecg
1 sibling, 1 reply; 11+ messages in thread
From: Matthias Gerstner @ 2016-09-22 16:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
Hi,
> For some reason, on one box, whenever I start vim it puts
> ":0000/0000/0000" on the command line. I've looked in vimrc and can't
> see any reference to this. Hitting Enter yields "E486: Pattern not found
> :0000"
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.Gerstner@ncp-e.com
Internet: http://www.ncp-e.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-22 16:17 ` Matthias Gerstner
@ 2016-09-22 18:28 ` Daniel Frey
2016-09-23 7:15 ` Matthias Gerstner
2016-09-23 7:29 ` Franz Fellner
0 siblings, 2 replies; 11+ messages in thread
From: Daniel Frey @ 2016-09-22 18:28 UTC (permalink / raw
To: gentoo-user
On 09/22/2016 09:17 AM, Matthias Gerstner wrote:
> Hi,
>
>> For some reason, on one box, whenever I start vim it puts
>> ":0000/0000/0000" on the command line. I've looked in vimrc and can't
>> see any reference to this. Hitting Enter yields "E486: Pattern not found
>> :0000"
>
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-22 18:28 ` Daniel Frey
@ 2016-09-23 7:15 ` Matthias Gerstner
2016-09-23 7:29 ` Franz Fellner
1 sibling, 0 replies; 11+ messages in thread
From: Matthias Gerstner @ 2016-09-23 7:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 922 bytes --]
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.Gerstner@ncp-e.com
Internet: http://www.ncp-e.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-22 18:28 ` Daniel Frey
2016-09-23 7:15 ` Matthias Gerstner
@ 2016-09-23 7:29 ` Franz Fellner
2016-09-23 16:19 ` Daniel Frey
1 sibling, 1 reply; 11+ messages in thread
From: Franz Fellner @ 2016-09-23 7:29 UTC (permalink / raw
To: gentoo-user
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 <djqfrey@gmail.com> wrote:
> On 09/22/2016 09:17 AM, Matthias Gerstner wrote:
> > Hi,
> >
> >> For some reason, on one box, whenever I start vim it puts
> >> ":0000/0000/0000" on the command line. I've looked in vimrc and can't
> >> see any reference to this. Hitting Enter yields "E486: Pattern not found
> >> :0000"
> >
> > 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
>
>
>
>
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-22 15:32 [gentoo-user] Vim puts command in when starting up Daniel Frey
2016-09-22 16:17 ` Matthias Gerstner
@ 2016-09-23 15:00 ` pc0147 Sistemas Will_ecg
2016-09-23 16:24 ` Daniel Frey
1 sibling, 1 reply; 11+ messages in thread
From: pc0147 Sistemas Will_ecg @ 2016-09-23 15:00 UTC (permalink / raw
To: gentoo-user
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
> ":0000/0000/0000" on the command line. I've looked in vimrc and can't
> see any reference to this. Hitting Enter yields "E486: Pattern not
> found
> :0000"
>
> 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 <willecg@openmailbox.org>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-23 7:29 ` Franz Fellner
@ 2016-09-23 16:19 ` Daniel Frey
0 siblings, 0 replies; 11+ messages in thread
From: Daniel Frey @ 2016-09-23 16:19 UTC (permalink / raw
To: gentoo-user
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~/0000
# Command Line History (newest to oldest):
:q
|2,0,1474647273,,"q"
:0000/0000/00
|2,0,1474569768,,"0000/0000/00"
# Search String History (newest to oldest):
? 0000
|2,1,1474569768,,"0000"
----------------
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-23 15:00 ` pc0147 Sistemas Will_ecg
@ 2016-09-23 16:24 ` Daniel Frey
2016-09-23 21:33 ` William Ernesto Cárdenas Gómez
0 siblings, 1 reply; 11+ messages in thread
From: Daniel Frey @ 2016-09-23 16:24 UTC (permalink / raw
To: gentoo-user
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
>> ":0000/0000/0000" on the command line. I've looked in vimrc and can't
>> see any reference to this. Hitting Enter yields "E486: Pattern not
>> found
>> :0000"
>>
>> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-23 16:24 ` Daniel Frey
@ 2016-09-23 21:33 ` William Ernesto Cárdenas Gómez
2016-09-24 19:30 ` Daniel Frey
0 siblings, 1 reply; 11+ messages in thread
From: William Ernesto Cárdenas Gómez @ 2016-09-23 21:33 UTC (permalink / raw
To: gentoo-user
El Fri, 23 Sep 2016 09:24:02 -0700
Daniel Frey <djqfrey@gmail.com> 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
> >> ":0000/0000/0000" on the command line. I've looked in vimrc and
> >> can't see any reference to this. Hitting Enter yields "E486:
> >> Pattern not found
> >> :0000"
> >>
> >> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-23 21:33 ` William Ernesto Cárdenas Gómez
@ 2016-09-24 19:30 ` Daniel Frey
2016-09-24 19:50 ` Daniel Frey
0 siblings, 1 reply; 11+ messages in thread
From: Daniel Frey @ 2016-09-24 19:30 UTC (permalink / raw
To: gentoo-user
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 <djqfrey@gmail.com> 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
>>>> ":0000/0000/0000" on the command line. I've looked in vimrc and
>>>> can't see any reference to this. Hitting Enter yields "E486:
>>>> Pattern not found
>>>> :0000"
>>>>
>>>> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Vim puts command in when starting up
2016-09-24 19:30 ` Daniel Frey
@ 2016-09-24 19:50 ` Daniel Frey
0 siblings, 0 replies; 11+ messages in thread
From: Daniel Frey @ 2016-09-24 19:50 UTC (permalink / raw
To: gentoo-user
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 <djqfrey@gmail.com> 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
>>>>> ":0000/0000/0000" on the command line. I've looked in vimrc and
>>>>> can't see any reference to this. Hitting Enter yields "E486:
>>>>> Pattern not found
>>>>> :0000"
>>>>>
>>>>> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-09-24 19:50 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 15:32 [gentoo-user] Vim puts command in when starting up Daniel Frey
2016-09-22 16:17 ` Matthias Gerstner
2016-09-22 18:28 ` Daniel Frey
2016-09-23 7:15 ` Matthias Gerstner
2016-09-23 7:29 ` Franz Fellner
2016-09-23 16:19 ` Daniel Frey
2016-09-23 15:00 ` pc0147 Sistemas Will_ecg
2016-09-23 16:24 ` Daniel Frey
2016-09-23 21:33 ` William Ernesto Cárdenas Gómez
2016-09-24 19:30 ` Daniel Frey
2016-09-24 19:50 ` Daniel Frey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox