On Monday 17 September 2001 19.57, Dale Schuster wrote:
On 17 Sep 2001, at 15:07, Anders Johansson wrote:
Here's what I did in a related situation: I ran the console based programs in screen, and detached them. From a remote computer, you can then ssh in and do a screen reattach. You'll then get the contents of screen in much the same way as vnc gives you the contents of an x session.
HTH Anders
I'm not very experienced with disconnecting sessions, BUT...
When I read the problem, my first thought was to redirect the output to a file, then any connections will be able to view the contents of that file. This won't be very pretty however, if the program is formatting the output to the screen, as opposed to just printing lines in the manner of syslog.
~Dale
An even bigger problem is if the program expects input from the user. With screen, the program works on a virtual console (even more virtual than the normal ctrl-alt-Fn), and you can reattach and work with the program just as if you were at the real console. But if it's just the output that's interesting, then redirecting it to a file is unquestionably simpler Anders