[sf-lug] switching from ssh server to terminal: can it be done and if so, how?

Rick Moen rick at linuxmafia.com
Fri Feb 15 19:43:11 PST 2008


Quoting Asheesh Laroia (asheesh at asheesh.org):

> I've always thought it should be possible to attach to the program(s) in 
> question with a debugger, close stdout and stderr, and re-open them as 
> file desecriptors to a new terminal.  I've never tried such a trick - has 
> anyone on the list?

I have a feeling it's one of those achievable solutions that _would_ be
well and pervasively documented, except for the fact that everyone who
cares about detaching and reattaching network connections' console I/O
streams just uses GNU screen.  ;->





More information about the sf-lug mailing list