From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH 2/3] gnu: Add dtach Date: Sun, 22 Jun 2014 17:22:30 -0400 Message-ID: <87simwvdux.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypDl-0005pb-A3 for guix-devel@gnu.org; Sun, 22 Jun 2014 17:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WypDe-0002pC-EX for guix-devel@gnu.org; Sun, 22 Jun 2014 17:22:41 -0400 Received: from na3sys009aog103.obsmtp.com ([74.125.149.71]:44865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypDe-0002p4-6R for guix-devel@gnu.org; Sun, 22 Jun 2014 17:22:34 -0400 Received: by mail-qc0-f181.google.com with SMTP id x13so5398735qcv.12 for ; Sun, 22 Jun 2014 14:22:32 -0700 (PDT) Received: from izanagi (209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.40.86]) by mx.google.com with ESMTPSA id c6sm26424388qag.0.2014.06.22.14.22.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jun 2014 14:22:31 -0700 (PDT) In-Reply-To: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-dtach.patch >From 1315cc5939cc8abaf7a292e30226672e94230724 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 6 Apr 2014 14:36:31 -0400 Subject: [PATCH 2/3] gnu: Add dtach. gnu/packages/screen.scm (dtach): New variable. --- gnu/packages/screen.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm index ae03220..63fb7a4 100644 --- a/gnu/packages/screen.scm +++ b/gnu/packages/screen.scm @@ -57,3 +57,35 @@ then manages the different virtual terminals, allowing you to easily switch between them, to detach them from the current session, or even splitting the view to show two terminals at once.") (license gpl2+))) + +(define-public dtach + (package + (name "dtach") + (version "0.8") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/dtach/dtach-" + version ".tar.gz")) + (sha256 + (base32 + "1agjp08zxxxfni62sqx9qsd9526yqwlz7ry07lfq3clavyylwq8n")))) + (build-system gnu-build-system) + (arguments + ;; No install target. + '(#:phases (alist-replace + 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir out) + (mkdir (string-append out "/bin")) + (copy-file "dtach" (string-append out "/bin/dtach")))) + %standard-phases) + ;; No check target. + #:tests? #f)) + (home-page "http://dtach.sourceforge.net/") + (synopsis "Emulates the detach feature of screen") + (description + "dtach is a tiny program that emulates the detach feature of screen, +allowing you to run a program in an environment that is protected from the +controlling terminal and attach to it later.") + (license gpl2+))) -- 2.0.0 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--