2

Is it possible to have a already started program move to screen/tmux? I'd like to have something like the following:

program;
^Z
screen;
fg;

I know the above won't work, but is there a way to accomplish this?

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
knittl
  • 4,072

1 Answers1

2

The problem is under no circumstances simple to solve, but have a look at reptyr. It can sometimes help you, especially if you don't care about noise printed in the original terminal & c. You'll might have to compile it yourself, although some distros, Gentoo for instance, package it.

Eroen
  • 6,561