Live data from Hacker News

FreeBSD switches the default root shell from csh to sh

cgit.freebsd.org

21–30 of 154 posts

Re: FreeBSD switches the default root shell from csh to sh

#21
post #11

We once upgraded a major research department from csh to tcsh (while also migrating most users to bash). A senior leader complained that when they hit the up arrow, the last command they typed showed up. I explained how to disable readline

That says a thing or too about habits. Was he pissed or was it just a light comment ?

I'd be sad to see an educated person refuse interesting new tricks (readline causes no regression or loss right ?)

Re: FreeBSD switches the default root shell from csh to sh

#22

I am not a freebsd user, been on linux since 1992, but most of the time I read something about freebsd users and it seems like they want to be some older unix, like Solaris or True64 or something.

I expect they want to be FreeBSD. In particular, they are not Linux, and have no need to be Linux, if that's what you're getting at. Certainly I do get a certain amount of Solaris feel from them; they ripped a decent amount of tech out of OpenSolaris (yay dtrace and ZFS) and BSDs were always structured more like Solaris than most Linux distros (base system separate from packages, base system created by installing mul…

SunOS was a BSD before it turned into Solaris, a System V

Re: FreeBSD switches the default root shell from csh to sh

#23

I am not a freebsd user, been on linux since 1992, but most of the time I read something about freebsd users and it seems like they want to be some older unix, like Solaris or True64 or something.

I used FreeBSD in production for years as a hosting platform, starting in the late nineties. Then it had an earned reputation as being more secure, stable and higher performance than Linux. Yahoo and other large services were using it for their servers as well. Since then Linux has improved, but a diverse ecosystem of options is healthy. A monoculture of OSes would be vulnerable to global security problems just a diet based on only one crop.

It's great that other projects make other choices about default shells and other system design details.

Re: FreeBSD switches the default root shell from csh to sh

#24

I am not a freebsd user, been on linux since 1992, but most of the time I read something about freebsd users and it seems like they want to be some older unix, like Solaris or True64 or something.

Pre-1992 it was SunOS and yes that is exactly what we want (without all the security holes).

SunOS was BSD and Nirvana as far as Unix goes. Solaris was SysV and quickly earned the nickname "Slowlaris". For me FreeBSD is the functional descendant of SunOS.

As for Linux I first tried it out in 1993 and was appalled that command line switches for most standard Unix utils had been arbitrarily remapped. Tried FreeBSD 1.0 when it came out and never looked back. Of course I use Linux in AWS and various servers at work and regularly experiment with Linux distros on personal machines but it always feels a bit "off".

I wonder how many other greybeards that cut their teeth on SunOS prefer FreeBSD over Linux today?

Re: FreeBSD switches the default root shell from csh to sh

#25
post #11

We once upgraded a major research department from csh to tcsh (while also migrating most users to bash). A senior leader complained that when they hit the up arrow, the last command they typed showed up. I explained how to disable readline

That says a thing or too about habits. Was he pissed or was it just a light comment ? I'd be sad to see an educated person refuse interesting new tricks (readline causes no regression or loss right ?)

he was pissed! and, really didn't like terminal colors when you ran 'ls' (so I showed how to unalias ls)

At this point I don't want to learn any new tricks, either. I'm sticking with bash for the rest of my life.

Re: FreeBSD switches the default root shell from csh to sh

#26
post #3

In the recent history sh(1) has gain the missing features for it to become a usable interractive shell: - command completion - ... Too much bloat for my tastes.

Can install dash from ports collection. Should work fine as scripting shell in place of this one.

Re: FreeBSD switches the default root shell from csh to sh

#27
A die-hard tcsh user myself, I mourn the end of an era, but has anyone done serious scripting in the C shell? I jokingly call it a sin in the eyes of the LORD, but seriously, it really, really sucks compared to even just the POSIX shell. It's probably time for me to finally give into Bash or zsh or something equally modern. Might be nice to get access to all of those shell completion hooks some tools have—not because tcsh doesn't offer custom completions, but because most tools don't target it. And so it goes.

Re: FreeBSD switches the default root shell from csh to sh

#28
post #25

Earlier quoted context omitted.

That says a thing or too about habits. Was he pissed or was it just a light comment ? I'd be sad to see an educated person refuse interesting new tricks (readline causes no regression or loss right ?)

he was pissed! and, really didn't like terminal colors when you ran 'ls' (so I showed how to unalias ls) At this point I don't want to learn any new tricks, either. I'm sticking with bash for the rest of my life.

what kind of research ? was it computing related or something really different ?

I'm quite shocked

I'm not 20 something either, I'm not chasing new shiny.. but a simple history access (arrows or search) is not an invasive disruptive toy feature..

alas

Re: FreeBSD switches the default root shell from csh to sh

#29
post #11

We once upgraded a major research department from csh to tcsh (while also migrating most users to bash). A senior leader complained that when they hit the up arrow, the last command they typed showed up. I explained how to disable readline

I wonder what he was using the up arrow key for in the shell.
Post reply on HN