Importing mksh in base

Baptiste Daroussin bapt at FreeBSD.org
Fri Jan 25 19:07:58 UTC 2019



Le 25 janvier 2019 18:12:58 GMT+01:00, Cy Schubert <Cy.Schubert at cschubert.com> a écrit :
>On January 25, 2019 8:57:51 AM PST, 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
>
>Why not ksh93 instead? It is the original and authoritative Korn shell.
>EPL is compatible with the BSD license. Personally, I've been toying
>with the idea of importing ksh93 for a while now.
>

The reason I chose mksh is because it is heavily maintained and from the testing I have done it was the "nicer" interface

>As to replacing root's shell, replacing tcsh is a large POLA violation.

It will not replace in existing installation just make it the default in new installation I can t see how this is a POLA violation if it is in new setup on new major version (upgrades won t be affacted)

> Maybe give users the option at install time instead. 

Doable, unsure it is worth it but yes we can do that if that is asked a lot


More information about the freebsd-arch mailing list