Debian Developers - Bug#398601: ITP: retty -- lets you attach processes running on other terminals

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > November 2006 > Bug#398601: ITP: retty -- lets you attach processes running on other terminals





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Bug#398601: ITP: retty -- lets you attach processes running on other terminals
Christoph Berg

2006-11-14, 1:17 pm

Package: wnpp
Severity: wishlist
Owner: Christoph Berg <myon@debian.org>

* Package name : retty
Version : 1.0
Upstream Author : Petr Baudis, Jan Sembera
* URL : http://pasky.or.cz/~pasky/dev/retty/
* License : GPL
Programming Lang: C and i386 asm (it doesn't work on amd64)
Description : lets you attach processes running on other terminals

retty is a tiny tool that lets you attach processes running on other
terminals. So you were running that mutt outside of screen at your
home machine and now wanna check your mail? Attach it with retty, do
whatever you want, detach it again and everything is as it was before.
You don't have to run them all in screen just in case.

Note that the tool is only very lightly tested, so take some care.
Always check first if attaching given application works before you
will do it for real.

We send SIGWINCHs around to make the applications recheck window
dimensions and redraw the screen - if they don't, try pressing Ctrl-L.

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Daniel Jacobowitz

2006-11-14, 1:17 pm

On Tue, Nov 14, 2006 at 02:33:14PM +0100, Christoph Berg wrote:
> programming Lang: C and i386 asm (it doesn't work on amd64)
> Description : lets you attach processes running on other terminals


To anyone else who was curious about this:

What it seems to be doing is injecting code onto the stack which causes
the target process to open your terminal and dup2 it onto stdout,
stderr, et cetera. Interesting.

--
Daniel Jacobowitz
CodeSourcery


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com