Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5046 - Feature request for pdksh
Summary: Feature request for pdksh
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jon Nelson (RETIRED)
Depends on:
Reported: 2002-07-15 14:30 UTC by Daniel Gryniewicz
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gryniewicz 2002-07-15 14:30:01 UTC
NetBSD has modified their pdksh to automatically escape shell characters when
tab-completing.  This is an extremely useful feature, especially if you share
files with Windows, which loves spaces in filenames.  I have extracted the
relevant portions of the NetBSD patch (which is BSD license, so it can be
re-licensed as GPL) and it is referneced at the URL above.  I've been running it
myself on severl linux systems (including RedHat 6.2, a number of LFS systems,
and gentoo 1.3a with gcc 3.1), and it seems stable.
Comment 1 Jon Nelson (RETIRED) 2002-07-16 20:46:32 UTC
If the patch is licensed by the NetBSD folks, then adding it to the pdksh source
is not quite that simple. pdksh is completely public domain, which is *not* the
same as BSD (3 or 4 clause version) or GPL.

IIRC, "I" cannot place additional restrictions on the distribution of code, and
therefore the patch needs to be excempt from licensing (as in, it is also public
domain), or we cannot distribute it.

As a second point, content licensed under the BSD license *cannot* be relicensed
under the GPL without the authors of the code doing so themselves.

If you feel these statements are in error, please provide specific details as to
why.  Also, the URL provided does not work -- please supply attachments via the
attachment interface, unless they are too large or unwieldy to do so.

Thank you!
Comment 2 Daniel Gryniewicz 2002-07-16 20:55:13 UTC
I'm not a lawyer.  I was under the impression BSD could be relicensed by anyone
to GPL, but if I'm wrong, then the patch can't be used, and I'll continue to
apply it myself.  I couldn't get the attachment interface to work, hense the URL
(my web server had died, sorry.  It's fixed now.)
Comment 3 Jon Nelson (RETIRED) 2002-07-16 21:08:39 UTC
Well, licenses certainly can't be changed by anybody but the copyright holders.
However, pdksh is specifically licensed as 'public domain'. *If* NetBSD applied
and/or created this patch, then the patch, too, must fall under the public
domain for most purposes.  Can you point me to a NetBSD source tree or whatever
that contains this code?