[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it possible to retach a process to a new terminal?



On Mon, 2003-11-10 at 09:01, Chema wrote:
> I often would find useful to stole the process from a tty wich is in a
> remote box, or to be able to see the output of a nohup'ed command, or
> to recuperate the process of a ssh session that got an abruptly end.
> 
> Is there a way to relocate a process in a new terminal?  Like "screen
> -d -r", but without screen =)
> 
> Anyway, I'm trying to screen anything I do now ;-)

Not sure if this would work, but maybe setting your shell to be "screen
/bin/bash" instead of just "/bin/bash". As far as actually switching
which tty you're using once the application is already running, I don't
know of any way to do it. (Though that certainly does not mean that
there ISN'T a way to do it.)
-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: