Re: Semi-OT: very weird vi behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



m.roth@xxxxxxxxx wrote:
> Richard wrote:
>>> Date: Wednesday, April 27, 2016 13:43:00 +0000
>>> From: "Vanhorn, Mike" <michael.vanhorn@xxxxxxxxxx>
>>> On 4/27/16, 9:39 AM, "centos-bounces@xxxxxxxxxx on behalf of
>>> m.roth@xxxxxxxxx" <centos-bounces@xxxxxxxxxx on behalf of
>>> m.roth@xxxxxxxxx> wrote:
>>>
>>>> And now, I just
>>>> ssh'd in from another windows, same way... and the weirdness isn't
>>>> there.
>>>>
>>>> Anyone have any clues as to what's going on with that one session?
>>>>
>>> It sounds as if, for some reason, in that one session, vi doesn’t
>>> know what your terminal settings are, so it’s in line editing
>>> mode (like ed or ex). I don’t have an explanation as to why it
>>> would only happen with that one session, though.
>>
>> Or your "colors" could be set oddly in that terminal window/vi
>> session.
>>
>> Unfortunately you are giving almost no details - OSs (original and
>> target machine), shells, terminal settings, etc., so it's hard to do
>> more than jump to potentially rash conclusions.
>
> Sorry, original machine that I sudo'd to root is CentOS 6; the machine
> where it was acting weird was CentOS7. Terminal is rxvt, and my colors are
> set everywhere to be the color Ghod (and IBM) meant them to be, green on
> black. <g>
>
> I'd been googling, and tried reset, and tried <ctrl-L>, and none of it
> helped. I renamed /root/.viminfo, and tried vi -V, which showed it only
> going after /etc/virc and /etc/vimrc, and neither modified. I also tried
> vi --noplugin.
>
Sorry, one more detail: file under "anal", and, as a buddy, a sr. sysadmin
many years ago used to say, "professionally paid to be paranoid" - I log
out of *everything*, including my workstation, when I leave for the night,
so new session every day.

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux