From owner-freebsd-arch@freebsd.org Fri Jan 25 19:07:58 2019 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F09C14BEDE7; Fri, 25 Jan 2019 19:07:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32BFC6B042; Fri, 25 Jan 2019 19:07:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 04137A067; Fri, 25 Jan 2019 19:07:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [192.168.0.17] (207.141.6.93.rev.sfr.net [93.6.141.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ivaldir.etoilebsd.net (Postfix) with ESMTPSA id B3A5FB47F6; Fri, 25 Jan 2019 20:07:56 +0100 (CET) Date: Fri, 25 Jan 2019 20:07:55 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: <20190125165751.kpcjjncmf7j7maxd@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Importing mksh in base To: Cy Schubert , freebsd-arch@freebsd.org, arch@freebsd.org From: Baptiste Daroussin Message-ID: X-Rspamd-Queue-Id: 32BFC6B042 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.993,0] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 19:07:58 -0000 Le 25 janvier 2019 18:12:58 GMT+01:00, Cy Schubert a =C3=A9crit : >On January 25, 2019 8:57:51 AM PST, Baptiste Daroussin > wrote: >>Hi everyone, >> >>I would like to import mksh in base, https://www=2Emirbsd=2Eorg/mksh=2Eh= tm >>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=2E >EPL is compatible with the BSD license=2E Personally, I've been toying >with the idea of importing ksh93 for a while now=2E > The reason I chose mksh is because it is heavily maintained and from the t= esting I have done it was the "nicer" interface >As to replacing root's shell, replacing tcsh is a large POLA violation=2E It will not replace in existing installation just make it the default in n= ew installation I can t see how this is a POLA violation if it is in new se= tup on new major version (upgrades won t be affacted) > Maybe give users the option at install time instead=2E=20 Doable, unsure it is worth it but yes we can do that if that is asked a lo= t