Importing mksh in base

Matthew Seaman matthew at FreeBSD.org
Sat Jan 26 11:38:41 UTC 2019


On 25/01/2019 19:10, Eric van Gyzen wrote:
> Ditto, except only 2 years on Linux before coming to FreeBSD.  I
> tried tcsh, since it was the default and in base, but I hated it for
> interactive use.  Notably absent are one-line “for" loops.  On new
> installs, after networking is up, my very first command is “pkg
> install bash [and others]”.
I have the opposite experience.  I use tcsh as my interactive shell,
mostly because I've used it for a long time and my fingers remember the
command sequences.  If I'm using bash interactively I tend to get
frustrated by not being able to type 'foo<Esc>p' to replay the last
command starting 'foo'.  Yes, I know about <Ctrl>r but it just isn't the
same.

If it's for programming though, it's straight to /bin/sh -- and I will
admit to dropping into sh to write for-loops at the command prompt.

I'd be happy enough to see the default root shell changed to mksh.  I'd
be pretty happy to see the root shell switched to our current /bin/sh
for that matter.  Actually, what advantages does mksh have over /bin/sh?

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20190126/8f243372/attachment.sig>


More information about the freebsd-arch mailing list