GNU bug report logs - #26984
Add loksh (ported OpenBSD pdksh)

Previous Next

Package: guix-patches;

Reported by: ng0 <ng0 <at> pragmatique.xyz>

Date: Thu, 18 May 2017 18:22:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ng0 <ng0 <at> pragmatique.xyz>
Subject: bug#26984: closed (Re: bug#26984: Add loksh (ported OpenBSD pdksh))
Date: Sat, 20 May 2017 00:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26984: Add loksh (ported OpenBSD pdksh)

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26984 <at> debbugs.gnu.org.

-- 
26984: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26984
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: ng0 <ng0 <at> pragmatique.xyz>, 26984-done <at> debbugs.gnu.org
Subject: Re: bug#26984: Add loksh (ported OpenBSD pdksh)
Date: Sat, 20 May 2017 02:42:49 +0200
[Message part 3 (text/plain, inline)]
ng0 <ng0 <at> pragmatique.xyz> 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 :)
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: ng0 <ng0 <at> pragmatique.xyz>
To: guix-patches <at> gnu.org
Subject: Add loksh (ported OpenBSD pdksh)
Date: Thu, 18 May 2017 18:20:47 +0000
[Message part 6 (text/plain, inline)]
The first patch adds loksh, a port of OpenBSD pdksh to Linux userland.
Intended for musl build, but we don't have that now.
It seems to work, I use it.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/
[0001-gnu-Add-loksh.patch (text/plain, attachment)]

This bug report was last modified 7 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.