I am trying to split the screen to view VIM and the terminal at the same time and I am unsure if I am doing something wrong. The directions I've seen say to install screen (was already installed for me version 4.1.0) and to input "screen" into the terminal then input "Ctrl a |", this is not working for me.
When I type "screen" in the terminal it outputs "Cannot make directory '/var/run/screen': Permission denied". When I input "sudo screen" the screen clears and outputs "[screen is terminating]" from which the terminal works but the screen hotkeys still do not seem to work. If I input "screen" again, it clears the screen again.
"Info Screen" brings me to the documentation page that says to use "C-a" which I am assuming means "Ctrl a" but that does not seem to work (I am holding ctrl and pressing lowercase 'a'). This is my first post so please let me know if I can improve the format of my question (not sure of the correct tag for WSL) and thank you very much for your time.
edit: I have been using tmux for a week now with no problems and I have been avoiding the inherent problem of screen not functioning as planned. From root directory, when I type "ls -ld /var/run/screen" or "ls -l /var/run/screen", I receive the same output "ls: cannot access /var/run/screen: No such file or directory". When I input "ll" or "ls -l", I do not see the directory var.
ls -ld /var/run/screen
and ofls -l /var/run/screen
.