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.
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.
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.)
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?