Link to home
Start Free TrialLog in
Avatar of naseeam
naseeamFlag for United States of America

asked on

How to fix colors of opened file in vi editor ?

I'm using windows computer.  My source code is in Linux Server.  I telnet to Linux Server.
I invoke command vi filename.  File opens but it hard to see the text.  Please see attached.  Is there way to change color or background color of opened file?
unclear_color.PNG
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You use telnet? That is not secure, I would use PuTTY instead.

Are you using vi or vim? You can check that with: ls -l $(which vi)
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I do agree that having telnet running on the destination is a pretty big security issue.  Even on a private WAN/LAN.

It happens every day:
https://en.wikipedia.org/wiki/Man-in-the-middle_attack

>>I would use PuTTY instead.

I use Cygwin with ssh.  I've not used PuTTY so I really cannot compare the two.  Just throwing it out as an alternative.
Avatar of naseeam

ASKER

>> What telnet product are you using?
How to find out?  My computer is running windows 10 Pro.  Form windows command prompt, I type telnet and my server name.  Then I log into Linux Server.

I'm using telnet because it's available in my workplace.

I'm using vim.
Avatar of naseeam

ASKER

Thank you for good answer and supplementary information.