From owner-freebsd-arch@freebsd.org Fri Jan 25 19:53:23 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 6C2C014C0601 for ; Fri, 25 Jan 2019 19:53:23 +0000 (UTC) (envelope-from brde@optusnet.com.au) 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 611976D01A for ; Fri, 25 Jan 2019 19:53:22 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: by mailman.ysv.freebsd.org (Postfix) id 2484114C0600; Fri, 25 Jan 2019 19:53:22 +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 12DC814C05FF for ; Fri, 25 Jan 2019 19:53:22 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail104.syd.optusnet.com.au (mail104.syd.optusnet.com.au [211.29.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 7F03D6D016; Fri, 25 Jan 2019 19:53:21 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from [192.168.0.102] (c110-21-101-228.carlnfd1.nsw.optusnet.com.au [110.21.101.228]) by mail104.syd.optusnet.com.au (Postfix) with ESMTPS id D21F5433ED6; Sat, 26 Jan 2019 06:53:11 +1100 (AEDT) Date: Sat, 26 Jan 2019 06:53:11 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Gleb Popov cc: Baptiste Daroussin , arch@freebsd.org Subject: Re: Importing mksh in base In-Reply-To: Message-ID: <20190126064128.Y872@besplex.bde.org> References: <20190125165751.kpcjjncmf7j7maxd@ivaldir.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=P6RKvmIu c=1 sm=1 tr=0 a=PalzARQSbocsUSjMRkwAPg==:117 a=PalzARQSbocsUSjMRkwAPg==:17 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=kMf0utG4AAAA:8 a=U4uZqydk3UVQBU8oQAkA:9 a=CjuIK1q_8ugA:10 a=of2mfszF-hMA:10 a=IjZwj45LgO3ly-622nXo:22 a=TTWE1O2ssfbasxdXZsrT:22 X-Rspamd-Queue-Id: 7F03D6D016 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 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.97)[-0.974,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:53:23 -0000 On Fri, 25 Jan 2019, Gleb Popov wrote: > On Fri, Jan 25, 2019 at 8:58 PM Baptiste Daroussin wrote: > >> 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 You should warm up with a more modest task, such as replacing vi by emacs as the default editor. > Are there FreeBSD users that are used to bash? If not, this proposal looks > like another "let's do like Linux" thing. I have used /bin/bash as the root shell for more about 20 years. The currently install version is slightly newer -- only about 15 years old (bash-1.14.7(1) installed by mv'ing it from /usr/local/bin where some port put it. toor still uses csh, but I never use toor. I still use /bin/sh and of course /bin/ed for the single user shell and editing there, except on one system which is misconfigured with /usr on the root partition so that vi is accidentally available for editing. If need, I exec bin/bash from /bin/sh or mount /usr, but my /usr is usually on nfs and most boot-time editing is to fix network configuratation so that nfs is available. Bruce