[CentOS] Semi-OT: very weird vi behaviour

Wed Apr 27 13:51:53 UTC 2016
Richard <lists-centos at listmail.innovate.net>


> Date: Wednesday, April 27, 2016 13:43:00 +0000
> From: "Vanhorn, Mike" <michael.vanhorn at wright.edu>
>
> On 4/27/16, 9:39 AM, "centos-bounces at centos.org on behalf of
> m.roth at 5-cent.us" <centos-bounces at centos.org on behalf of
> m.roth at 5-cent.us> 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?
>> 
>>         Mark
> 
> 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.