Anders Johansson schrieb:
On Saturday 22 September 2001 14.31, you wrote:
Anders Johansson schrieb:
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
No it expects also input from keyboard. How to route screen output AND the keyboard input (note that it is 5 diffent consoles!)
Run screen, and then start the application. when you want to disconnect, press ctrl-a followed by d. Screen will then 'detach', meaning that it will run in the background. The program you ran in screen will not notice anything. It will keep running, thinking it is connected to a real console.
You can do this as many times you like, one screen for each application you want to run. Make a note of the pid of each screen session.
When you want to reconnect to the screen session, run screen -r <pid of screen>
You will then be returned to the application, and you can work with is just as if you were actually sitting by the console.
Experiment with it, it really is a very useful tool.
Anders
Thank you all for pointing me in this direction. As I now brought my BBS server home, I shall be experimenting. I come back to this later and will inform you how this works out for me. Until then: Thank you again. Olli -- *º¤., ¸¸,.¤º*¨¨¨*¤ =Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤ I http://www.bmw-roadster.de/Friends/Olli/olli.html I I http://www.bmw-roadster.de/Friends/friends.html I I http://groups.yahoo.com/group/VGAP-93 I I http://home.t-online.de/home/spacecraft.portal I
Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2 <<<