SUMMARY: Is it possible to reattach to an application running in the background?

From: Christopher Knorr <cknorr_at_hops.com>
Date: Fri, 21 Jan 2000 12:02:32 -0500

Initial Question:

Is there any way, once I've closed my terminal window, to "reattach" myself
to the running application again so that I can once again start seeing the
application's output?

Solution(s):

Thanks to everyone who replied. There were 2 streams of thought:

1. Use the jobs command to get a list of jobs you've launched into the
background, and then the fg command to reattach to one of 'em. This seems
to require C-shell, but a more important restriction is that it seems to
only work while your session is active. If you close your session and start
another one the jobs command won't show anything.

2. In order to solve the restriction mentioned in #1, use 'screen'.

You can find screen at ftp://prep.ai.mit.edu/pub/gnu/screen

With screen, you can detach the whole screen process and reattach to
it. Your application must be launched from screen to be able to do this.

Again, thanks to everyone who replied,

Chris
Received on Fri Jan 21 2000 - 17:01:18 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT