Importing mksh in base

Cy Schubert Cy.Schubert at cschubert.com
Fri Jan 25 19:12:40 UTC 2019


On January 25, 2019 10:26:58 AM PST, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
>
>
>Le 25 janvier 2019 18:41:51 GMT+01:00, Adam <amvandemore at gmail.com> a
>écrit :
>>On Fri, Jan 25, 2019 at 10:58 AM Baptiste Daroussin <bapt at freebsd.org>
>>wrote:
>>
>>> Hi everyone,
>>>
>>> I would like to import mksh in base, https://www.mirbsd.org/mksh.htm
>>> And make it the default root shell (not necessary in one step)
>>>
>>> Why:
>>> 1/ it is tiny 400k (in the packaged version) all other shells
>fitting
>>the
>>> expectation are bigger
>>> 2/ it's default frontend in interactive mode is very close to what
>>most
>>> people
>>> are used to with bash and shells as default root shell on other BSD
>>and
>>> most
>>> linuxes
>>> 3/ from my narrow window csh as a default root shell is one of the
>>major
>>> complaint (usually the first thing a user get faced to) from new
>>comers and
>>> also for some long timers who are reinstalling a machine and have
>not
>>yet
>>> installed/configured a bourne compatible shell
>>>
>>> What this proposal is _NOT_ about:
>>> 1/ the removal of tcsh from base
>>> 2/ any kid of denial of the quality and interest or features of csh
>>>
>>> What do you think?
>>> Best regards,
>>> Bapt
>>>
>>
>>I do not wish to have a bash like root shell since imo its interactive
>>mode
>>isn't that great.  I don't think conformity is a great argument for
>>change
>>in this regard.  I don't see any other advantage to this change.  I
>>could
>>be wrong but I also think it might be incorrect to say bash is the
>>default
>>root shell on other BSD's.
>
>
>I am not saying bash is the default but bourne like shell on openbsd
>for instance it is a variant or ksh which mksh is a fork of, for
>example
>
>>
>>If there is some change to the root shell, I'd rather see it to be zsh
>>which does have a good interactive mode.
>
>zsh is big and evolving quickly, imho not a good candidate for base
>_______________________________________________
>freebsd-arch at freebsd.org mailing list
>https://lists.freebsd.org/mailman/listinfo/freebsd-arch
>To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"

Mksh is not a fork of ksh93.  It is a fork of pdksh. If we are to import a ksh, let's import the real ksh. Not some clone. 

-- 
Pardon the typos and autocorrect, small keyboard in use.
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.


More information about the freebsd-arch mailing list