From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Griffin Subject: [PATCH] gnu: Add reptyr. Date: Fri, 08 Jul 2016 14:38:36 -0500 Message-ID: <1468006716.1010694.660917729.687C408B@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_----------=_146800671610106941"; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLbbw-0007sI-Rp for guix-devel@gnu.org; Fri, 08 Jul 2016 15:38:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLbbt-0008NP-JJ for guix-devel@gnu.org; Fri, 08 Jul 2016 15:38:52 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLbbr-0008Lc-7M for guix-devel@gnu.org; Fri, 08 Jul 2016 15:38:49 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8C60520325 for ; Fri, 8 Jul 2016 15:38:36 -0400 (EDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --_----------=_146800671610106941 Content-Transfer-Encoding: 7bit Content-Type: text/plain This patch adds reptyr, a tool for reparenting a running program to a new terminal. I put it in screen.scm because it is usually used to move a process into a screen or tmux session. Also somewhat related, I think the file tmux.scm should merge with screen.scm. Thanks, -- Alex Griffin --_----------=_146800671610106941 Content-Disposition: attachment; filename="0001-gnu-Add-reptyr.patch" Content-Id: <1468006247.1009240.c787925487bc6247a1fdbeddccdcef54c492f27c.31BFB574@content.messagingengine.com> Content-Transfer-Encoding: base64 Content-Type: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ICsxNDUsMzAgQEAgYXMgZm9sZGluZyByb29tIGRpdmlkZXJz LiAgVGhlIEJ5b2J1IHNvZnR3YXJlIGluY2x1ZGVzIGFuIGVuaGFuY2VkIHBy b2ZpbGUsCiBjb25maWd1cmF0aW9uIHV0aWxpdGllcywgYW5kIHN5c3RlbSBz dGF0dXMgbm90aWZpY2F0aW9ucyBmb3IgdGhlIEdOVSBTY3JlZW4KIHdpbmRv dyBtYW5hZ2VyIGFzIHdlbGwgYXMgdGhlIFRtdXggdGVybWluYWwgbXVsdGlw bGV4ZXIuIikKICAgICAobGljZW5zZSBncGwzKykpKQorCisoZGVmaW5lLXB1 YmxpYyByZXB0eXIKKyAgKHBhY2thZ2UKKyAgICAobmFtZSAicmVwdHlyIikK KyAgICAodmVyc2lvbiAiMC42LjIiKQorICAgIChzb3VyY2UKKyAgICAgKG9y aWdpbgorICAgICAgIChtZXRob2QgdXJsLWZldGNoKQorICAgICAgICh1cmkg KHN0cmluZy1hcHBlbmQgImh0dHBzOi8vZ2l0aHViLmNvbS9uZWxoYWdlL3Jl cHR5ci9hcmNoaXZlIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgIi9y ZXB0eXItIiB2ZXJzaW9uICIudGFyLmd6IikpCisgICAgICAgKHNoYTI1Ngor ICAgICAgICAoYmFzZTMyCisgICAgICAgICAiMDdwZmwwcmtnbThtM2Yzank4 cjlsMnl2bmhmOGxnbGxwc2szbWg1N21oemR4cThmYWdmNyIpKSkpCisgICAg KGJ1aWxkLXN5c3RlbSBnbnUtYnVpbGQtc3lzdGVtKQorICAgIChhcmd1bWVu dHMKKyAgICAgJygjOnRlc3RzPyAjZgorICAgICAgICM6bWFrZS1mbGFncyAo bGlzdCAiQ0M9Z2NjIgorICAgICAgICAgICAgICAgICAgICAgICAgICAoc3Ry aW5nLWFwcGVuZCAiUFJFRklYPSIgJW91dHB1dCkpCisgICAgICAgIzpwaGFz ZXMgKGFsaXN0LWRlbGV0ZSAnY29uZmlndXJlICVzdGFuZ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