Date: Wed, 22 Sep 2021 10:29:32 +0000 From: Chris Stephan <chris.stephan@live.com> To: Baptiste Daroussin <bapt@FreeBSD.org>, "current@freebsd.org" <current@freebsd.org>, "arch@FreeBSD.org" <arch@FreeBSD.org> Subject: Re: [HEADSUP] making /bin/sh the default shell for root Message-ID: <SA1PR02MB8669B26ABC212799FF5B18E59BA29@SA1PR02MB8669.namprd02.prod.outlook.com> In-Reply-To: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--_000_SA1PR02MB8669B26ABC212799FF5B18E59BA29SA1PR02MB8669namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I completely agree. It will save me the =91/bin/sh=92 at the beginning of e= ach =91su -=91 session. Also, it will simplify building extra small FreeBSD= images, allowing an easier removal of =91csh=92. I use csh from time to time, but I do wish it would take a much more explic= it action so my brain has switched over to =91csh mode=92. I won=92t lie th= at I=92ve pasted script into my terminal and spent time troubleshooting why= the commands didn=92t work only to realize I forgot to change to /bin/sh f= irst. Chris Stephan Sent from FreeBSD ________________________________ From: owner-freebsd-current@freebsd.org <owner-freebsd-current@freebsd.org>= on behalf of Baptiste Daroussin <bapt@FreeBSD.org> Sent: Wednesday, September 22, 2021 3:36:45 AM To: current@freebsd.org <current@freebsd.org>; arch@FreeBSD.org <arch@FreeB= SD.org> Subject: [HEADSUP] making /bin/sh the default shell for root Hello, TL;DR: this is not a proposal to deorbit csh from base!!! For years now, csh is the default root shell for FreeBSD, csh can be confus= ing as a default shell for many as all other unix like settled on a bourne shel= l compatible interactive shell: zsh, bash, or variant of ksh. Recently our sh(1) has receive update to make it more user friendly in interactive mode: * command completion (thanks pstef@) * improvement in the emacs mode, to make it behave by default like other sh= ells * improvement in the vi mode (in particular the vi edit to respect $EDITOR) * support for history as described by POSIX. This makes it a usable shell by default, which is why I would like to propo= se to make it the default shell for root starting FreeBSD 14.0-RELEASE (not MFCed= ) If no strong arguments has been raised until October 15th, I will make this proposal happen. Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! Best regards, Baptiste --_000_SA1PR02MB8669B26ABC212799FF5B18E59BA29SA1PR02MB8669namp_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SA1PR02MB8669B26ABC212799FF5B18E59BA29>