From owner-freebsd-arch@freebsd.org Fri Jan 25 19:36:47 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 E3F6E14BF8A1 for ; Fri, 25 Jan 2019 19:36:46 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6996C304 for ; Fri, 25 Jan 2019 19:36:46 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id CF3EF14BF8A0; Fri, 25 Jan 2019 19:36:45 +0000 (UTC) Delivered-To: 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 BDB7214BF89F for ; Fri, 25 Jan 2019 19:36:45 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E84916C300; Fri, 25 Jan 2019 19:36:44 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x0PJaeD1089797; Fri, 25 Jan 2019 11:36:40 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x0PJaepi089796; Fri, 25 Jan 2019 11:36:40 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201901251936.x0PJaepi089796@pdx.rh.CN85.dnsmgr.net> Subject: Re: Importing mksh in base In-Reply-To: <20190125165751.kpcjjncmf7j7maxd@ivaldir.net> To: Baptiste Daroussin Date: Fri, 25 Jan 2019 11:36:40 -0800 (PST) CC: arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: E84916C300 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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:36:47 -0000 > 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 It is more than twice the size of our current /bin/sh, and giving up 200k on the nano/tiny/wifi BSD is hard to justify. 400k is near the size of tcsh. Having expressed that concern, when pkg base is a reality and we can pkg choose at install time if we get the current tiny /bin/sh or your mksh proposal, or the whole basket which is bash I would support adding more shells to the base system. > 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 Getting close to usually does not satisfy those that do actually use bash, zsh, ksh, etc. Just as vi falls short for vim users. > 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 I do not ever recall hearing a complaint about csh as a default root shell, and, um I thought we encouraged new users to create an account and use su/sudo type things so that they are not running around in a root shell very much anyway. I think the more norm complaint is from long time Linux users making the transition to a BSD finding anything different difficult to handle, much as I curse every few minutes when I am working in a shell on a Linux box and find yet another thing I have to apt get to even be close to a BSD system. > > What this proposal is _NOT_ about: > 1/ the removal of tcsh from base I would like to bring the invoked /bin/csh settings just a bit closer to ancient /bin/csh, but I have learned to deal with the subtle non conformance. > 2/ any kid of denial of the quality and interest or features of csh > > What do you think? I think we need pkg base so we can have all those shells mentioned in other replies, so long as some one steps forward willing to maintain them and all the scripts that need to run on them without alteration. > Best regards, > Bapt -- Rod Grimes rgrimes@freebsd.org