Ubuntu Desktop to Ubuntu Server issues with vi and scrolling

Started by mahesh, Aug 04, 2023, 08:09 AM

Previous topic - Next topic

mahesh

Hello,

We have a server at work running the following:



Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy


I wrote some python scripts on my local Ubuntu workstation running the same release version above and run them on our server but to my surprise, i ran into a few issues.

1. When I'm in the terminal and after I run some commands, i can see the outputs, however when I open a file in vim and close it, all the previously visible outputs disappear and the screen just shows the partial content of the previously opened file.

2. When I edit the file in vi (which runs vim instead), it messes up the tabs for my python script and I couldn't make any modifications to the script at all and keep getting indention error.

3. When i'm working in the terminal, I can no longer scroll up. Quick google search suggests that scrolling has been removed from the kernel some time ago. Is this the case?


I thought I'd run my scripts on our server to harness its processing power but with all the issues i've described above, do we have any alternative to just re-formatting the server into the desktop version?