From nobody Wed Sep 22 11:03:54 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3DE6617C409E; Wed, 22 Sep 2021 11:03:10 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HDwPp0xPYz4wns; Wed, 22 Sep 2021 11:03:10 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: by mail-lf1-f42.google.com with SMTP id e15so10159613lfr.10; Wed, 22 Sep 2021 04:03:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C1+J0HQ2XQV0w4PjyK97IHnUJXA1+0nZp/tQLF80gjA=; b=sHCiF+fIhHLudtLcd2s05TqqWDtxY01FbrGHEyfdzWT49wV5uj8r74DTFv8un7/cYg 0TKjdPTMkPXcKwIm0XIxZ0CRh2vC12gk+uhZpCyh68rcIHdU49QkyxFr4vzwFXdMTC6n 3tEy5Z9RM0RoaOAX4ULJiTgZwbloCuwaJQfx6Kde7cmFepFfWOXw6yoKiCgkr2F9gWqi IZyVL8pJflcy7OR/hwdyNFS1cwAWaevWcSNurpHiduLFhCtjm1AjnVYViSmNYjwaMcI8 tLsi2eAzK1dO5ENz+MbGd+tiZXx+w4+rbfxy+LRiXwal8cyGPK1VoCnfs06vXY6rCWGq en7Q== X-Gm-Message-State: AOAM530INK8YtRBL1eRvYMvCgEx0Kdz5JjdXfwyYFcvW4OfcAeZhqOtz xkJ5jSE0MOCS2DH8ziJ7/w7y5Evo8FNHzXVQZ0IlAws2Lj4= X-Google-Smtp-Source: ABdhPJwuHsPz9jOanAebeMKoTi15z/ztVR5MFbBkzqGVUroMN2PbZYUnpao07Uu8klez4KcheBYFjuSVUnYxRh9ucgY= X-Received: by 2002:a05:651c:1408:: with SMTP id u8mr9320903lje.253.1632308582575; Wed, 22 Sep 2021 04:03:02 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20210922083645.4vnoajyvwq6wfhdf@aniel.nours.eu> In-Reply-To: From: Mariusz Zaborski Date: Wed, 22 Sep 2021 13:03:54 +0200 Message-ID: Subject: Re: [HEADSUP] making /bin/sh the default shell for root To: Chris Stephan Cc: Baptiste Daroussin , "current@freebsd.org" , "arch@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000003a720005cc9375cf" X-Rspamd-Queue-Id: 4HDwPp0xPYz4wns X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000003a720005cc9375cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 from me. On Wed, 22 Sept 2021 at 12:31, Chris Stephan wrote= : > I completely agree. It will save me the =E2=80=98/bin/sh=E2=80=99 at the = beginning of each > =E2=80=98su -=E2=80=98 session. Also, it will simplify building extra sma= ll FreeBSD images, > allowing an easier removal of =E2=80=98csh=E2=80=99. > > I use csh from time to time, but I do wish it would take a much more > explicit action so my brain has switched over to =E2=80=98csh mode=E2=80= =99. I won=E2=80=99t lie > that I=E2=80=99ve pasted script into my terminal and spent time troublesh= ooting why > the commands didn=E2=80=99t work only to realize I forgot to change to /b= in/sh > first. > > Chris Stephan > > Sent from FreeBSD > ________________________________ > From: owner-freebsd-current@freebsd.org > on behalf of Baptiste Daroussin > Sent: Wednesday, September 22, 2021 3:36:45 AM > To: current@freebsd.org ; arch@FreeBSD.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 > confusing > as a default shell for many as all other unix like settled on a bourne > shell > 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 > shells > * improvement in the vi mode (in particular the vi edit to respect $EDITO= R) > * support for history as described by POSIX. > > This makes it a usable shell by default, which is why I would like to > propose 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 th= is > proposal happen. > > Again just in case: THIS IS NOT A PROPOSAL TO REMOVE CSH FROM BASE! > > Best regards, > Baptiste > > --0000000000003a720005cc9375cf--