DEV Community

Discussion on: How to keep a process running even after closing SSH connection?

Collapse
 
bobbyiliev profile image
Bobby Iliev

Hi Petar, you could do the same with screen actually.

If you press CTRL+a then SHIFT+S (note the capital S), this would create a second screen window like this.

Then you can press CTRL+a and then TAB to go to the second screen and after that press CTRL+a+c to create the second terminal.

But I'll definitely check xmux as well!

Collapse
 
mihaylov profile image
Petar Petrov

It feels clunkier than tmux, which can split horizontal and vertical.

But its good to know for systems that don't have tmux, thanks!

Thread Thread
 
moopet profile image
Ben Sinclair

Newer versions of screen let you split vertically and there's been a patch around for older versions for quite a few years.

Thread Thread
 
pklapperich profile image
pklapperich

Yeah, I was doing vertical splits in screen back on Ubuntu Dapper. It took a surprisingly long time for upstream screen to accept the patches, but distros have commonly included the patches for vertical splits since before I first used screen.