From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: add rlwrap Date: Sun, 17 Jul 2016 09:36:36 +0300 Message-ID: <20160717063636.GA5637@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kXdP64Ggrk/fb43R" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOfh7-00031h-An for guix-devel@gnu.org; Sun, 17 Jul 2016 02:36:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOfh2-0003X6-HY for guix-devel@gnu.org; Sun, 17 Jul 2016 02:36:53 -0400 Received: from flashner.co.il ([178.62.234.194]:60670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOfh2-0003Wm-5X for guix-devel@gnu.org; Sun, 17 Jul 2016 02:36:48 -0400 Received: from debian-netbook (unknown [37.26.149.243]) by flashner.co.il (Postfix) with ESMTPSA id 6412F4001D for ; Sun, 17 Jul 2016 06:36:39 +0000 (UTC) Content-Disposition: inline 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 --kXdP64Ggrk/fb43R Content-Type: multipart/mixed; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Rlwrap is a wrapper program around readline, so I've stuck it in readline.scm. I realized while testing some of the programs I use regularly I've been negligent in submitting patches, so here's the first one I have. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-rlwrap.patch" Content-Transfer-Encoding: quoted-printable =46rom a2285798832daa6b4d33aac3382171ec25ea032d Mon Sep 17 00:00:00 2001 =46rom: Efraim Flashner Date: Sun, 17 Jul 2016 08:56:03 +0300 Subject: [PATCH] gnu: Add rlwrap. * gnu/packages/readline.scm (rlwrap): New variable. --- gnu/packages/readline.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm index db469db..169a738 100644 --- a/gnu/packages/readline.scm +++ b/gnu/packages/readline.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2012, 2013, 2014 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,6 +21,7 @@ #:use-module (guix licenses) #:use-module (gnu packages) #:use-module (gnu packages ncurses) + #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) @@ -85,3 +87,29 @@ comfortable for anyone.") (sha256 (base32 "10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr"))))= )) + +(define-public rlwrap + (package + (name "rlwrap") + (version "0.42") + (source + (origin + (method url-fetch) + (uri (string-append "http://utopia.knoware.nl/~hlub/uck/rlwrap/rlw= rap-" + version ".tar.gz")) + (sha256 + (base32 + "0i3yz303wscrysyzpdq04h4nrl9ajz9dbwi80risdl5rkm3dhw2s")))) + (build-system gnu-build-system) + (native-inputs `(("perl" ,perl))) + (inputs + `(("readline" ,readline))) + (synopsis "Wrapper to allow the editing of keyboard commands") + (description + "Rlwrap is a 'readline wrapper', a small utility that uses the GNU +readline library to allow the editing of keyboard input for any command. = You +should consider rlwrap especially when you need user-defined completion (b= y way +of completion word lists) and persistent history, or if you want to program +'special effects' using the filter mechanism.") + (home-page "http://utopia.knoware.nl/~hlub/uck/rlwrap/") + (license gpl2+))) --=20 2.9.1 --u3/rZRmxL6MmkK24-- --kXdP64Ggrk/fb43R Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXiydxAAoJEPTB05F+rO6TPI4P/RnhL15KAUnixSUjryXnAXNI JEOjg6XMne+xumpRD7et660P5IfsSEHFFt6AppYsQJx11QjYtO76ne+YExIEH8Al NqXIFMfriDTLC1Wztyes1okG1lOqZ90T42IGwltwDGWAYs1PMCXuuhXxDFSs1DnH 6Kaem94lAiJB4GHowCuXz9gEsZiJZZJsWV09oPuEJfabRZr2jIMseTayg4x36xyN du7VP8T8X625mdZTvV2YDar8D4NmbM8jRX5xKURBKy9X5XyEzW/UaDJmII6Np7mQ AWBNqeg829gvCGvm8CG6waM3Taqtco/qfwFF2klKaqMbBkEuqya49f2wb1F0X9nY 4Lmle9p7qQaq8ZpwBbiF8IFD6L3YMDmtMGkmgnTUjesL/CbMEs78I1ffGSynXome gXf76LGAs9LkC9CcnOq6aGUQmsspqtnZxuT3ztfyWhl+QcPTspNJawht78dhs+ZL ggJD49RnGD66PzRwpdeoMmXPEudrFBXXz/NwdWBwkx+cXa7LqmW3pz1oaTbaWuuK aKvzafxabNj+TeoZ9dopIKXHGpLidnx4qpSJxGbKlgbeEgLjG4TPSCyHHVdvdAOE uYilwkE4gcdG+JcJmsdozqAevnS5e+Lfnnh8T270su1MpH4HsibJbwrLrbdEUAbG kbq6qWbmZgF92LI+nGQ7 =JCQW -----END PGP SIGNATURE----- --kXdP64Ggrk/fb43R--