ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Non-Windows Software

rePTYr - Re-parent a running process to a new TTY

(1/1)

Edvard:
This one's going to be fun...
reptyr - A tool for "re-ptying" programs.
reptyr is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don't want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.

--- End quote ---

Home page: https://github.com/nelhage/reptyr


Blog post: https://blog.nelhage.com/2011/02/changing-ctty/




from NixCraft Facebook page

ewemoa:
That sounds pretty handy!  Thanks for sharing :)

ewemoa:
Just tried it with some success.

Remember those times when somehow you can't get back to your X session, but there's something running in a terminal you'd like to interact with or see?  Looks like this could work -- a quick test suggests it might work sometimes.

On a side-note, AFAICT, this is Linux-only.

Navigation

[0] Message Index

Go to full version