From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBsU5-0007MD-Pd for guix-patches@gnu.org; Fri, 19 May 2017 20:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBsU2-0005d1-Lc for guix-patches@gnu.org; Fri, 19 May 2017 20:43:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBsU2-0005ct-FH for guix-patches@gnu.org; Fri, 19 May 2017 20:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBsU2-0005vm-8n for guix-patches@gnu.org; Fri, 19 May 2017 20:43:02 -0400 Subject: bug#26984: Add loksh (ported OpenBSD pdksh) Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170518202202.l5yqcijtn6c65mu7@abyayala> References: <20170518182047.qxwdpsy2edqltyg4@abyayala> <20170518202202.l5yqcijtn6c65mu7@abyayala> Date: Sat, 20 May 2017 02:42:49 +0200 Message-ID: <87efvk9x4m.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: ng0 , 26984-done@debbugs.gnu.org --=-=-= Content-Type: text/plain ng0 writes: > Subject: [PATCH] gnu: Add loksh. > > * gnu/packages/shells.scm (loksh): New variable. Thanks for this patch! I've used this shell a lot on OpenBSD. One thing it does better than bash is that ^W stops at "/" and other boundaries, not just spaces! I've applied it with a slight adjustment to description: diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 5035c935a..47d3a4614 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -487,10 +487,10 @@ operating system.") (modify-phases %standard-phases (delete 'configure)))) ;No configure script (home-page "https://github.com/dimkr/loksh") - (synopsis "Port of OpenBSD pdksh to Linux") + (synopsis "Korn Shell from OpenBSD") (description - "loksh is a Linux port of OpenBSD's ksh (pdksh). -It is a small, interactive shell targeted at resource-constrained systems.") + "loksh is a Linux port of OpenBSD's @command{ksh}. It is a small, +interactive POSIX shell targeted at resource-constrained systems.") ;; The file 'LEGAL' says it is the public domain, and the 2 ;; exceptions which are listed are not included in this port. (license public-domain))) > By the way, this can not be used for the test suite in graphviz. > There are many ksh implementations, and this is not the one > the tests accept. Or at least its ksh93 checks fail ;) Maybe they need "mksh"? Another popular Korn Shell :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkfkQkACgkQoqBt8qM6 VPpk8ggAhULomOnM54jLFzTgyZFdwVCx7mKmefqRD5wDGakcwke/m0BBC4Uq9ABz BTCQ6PQFN5Bi4tsoQXCZPH816uRfPa/RcQTlTPBdGrzVWMNPVndOv4Yufps2+bFQ GOdDwQe4elQSuqedj97bFX9YfzWJGGSgZ1GpETNN/QXYb7+1YW1wprdP221lgITG 0bMmrc9ma2qAYoHM2oSkg0JhJmiPDjzDyPTrqIeTibCXlu1PS0tS98I6yV1w3cNP pJXb2a0AEfg6i93JKakCJLKaoXRqFjNosE8fFAQwpGPtHVmGw2nr6kf13QgsvRy3 M5tdxdxTvqKn5Yt5rRyenMu47adEMg== =Bhy4 -----END PGP SIGNATURE----- --=-=-=--