Earlier quoted context omitted.
I totally understand that, I'm not a young mind anymore, and I get that most of these are pointless superficial tricks. I spend most of my days venting about the state of computing (especially since web2.0 came and replaced a lot of stuff with bloated regressions in many offices) But I considered readline a good addition, not a waste of time and neurons. ps: I stopped using zsh/fish, my emacs theme is the vanilla the…
I work half as fast without fish completions. matters to some people
FreeBSD switches the default root shell from csh to sh
81–90 of 154 posts
Re: FreeBSD switches the default root shell from csh to sh
#82Re: FreeBSD switches the default root shell from csh to sh
#83Earlier quoted context omitted.
personally, I don't have interest in zsh because bash is the default shell in Linux, which is the UNIX system I use (I find mac's unix to be really a weird variant). Mac switching to zsh is just more evidence they're diverting from the mainstream.
Apple switched to zsh because newer versions of bash are licensed under GPLv3.
Re: FreeBSD switches the default root shell from csh to sh
#84Earlier quoted context omitted.
> I wonder how many other greybeards that cut their teeth on SunOS prefer FreeBSD over Linux today? Not a greybeard but I certainly reach for a BSD when I want to "use Unix". Linux is a quivering basket case that cant decide if its Unix, MacOS or Windows.
> Linux is a quivering basket case that cant decide if its Unix, MacOS or Windows. A more positive spin on this would be that it combines the best of all three. Personally I'm very much in the Unix camp though, and have the proverbial greybeard long enough to trip over. But I can see the value in the "Linux way" of doing things. Actually, I mostly just use Linux myself these days, mainly because of software compatibi…
A more accurate spin would be that it does a half-assed job of implementing features from each but runs off half way to chase after some other shiny feature.
That's the virtue of BSD; it's simple, it's documented it's complete (in features and feature implementation).
Re: FreeBSD switches the default root shell from csh to sh
#85Re: FreeBSD switches the default root shell from csh to sh
#86Re: FreeBSD switches the default root shell from csh to sh
#87Earlier quoted context omitted.
I wonder what he was using the up arrow key for in the shell.
In those days people mainly used ! expansion. https://en.wikipedia.org/wiki/C_shell#History . I know many people who are incredibly good at using ! expansion to edit previous commands ("change that command 5 lines ago to rm -rf this other folder") but it's a bit of a footgun.
If you just want to execute it then it is a footgun - using only the !command syntax.
If you use the !command:p syntax then you are just printing what command has been executed instead of invoking it.
Example.
% uname
FreeBSD
% !uname
uname
FreeBSD
% !uname:p
uname
%Re: FreeBSD switches the default root shell from csh to sh
#88Re: FreeBSD switches the default root shell from csh to sh
#89Earlier quoted context omitted.
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…
I think the Slowlaris moniker was not due to Solaris itself, but the speed of their SPARC processors. I used to work very closely with x86 Solaris for financial trading and it was performant (and stable!) on Intel hardware at the time (circa 2010). At the time Solaris 10 was feee as in beer. When Oracle took over they got rid of this and wanted $1K per CPU socket per year on non Sun/Oracle hardware. Needless to say e…
But I always liked SUN Solaris for its features and solutions.
Re: FreeBSD switches the default root shell from csh to sh
#90A 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…
I am sad to hear FreeBSD is changing root from tcsh to sh (FreeBSD moved from csh to tcsh a while ago). It was one of the things that made FreeBSD unique. I guess the got sick of hearing this question: "can I change the root shell to bash ?". I think they were the last holdout of the BSDs. But to me, if you care what root's shell is, you are doing something wrong by using root way too often.
That said, it really was damned annoying. I like to port my software to AIX, FreeBSD, Linux/glibc, Linux/musl, NetBSD, macOS, OpenBSD, and Solaris. All of them use a Bourne-like root shell except FreeBSD, and every time I go to upgrade a FreeBSD VM or build a new one I seem to always trip over that at some point. If I used FreeBSD regularly I wouldn't care as much--I'd change the default, or know how to achieve what I want more directly. But not being familiar with FreeBSD, I always end up in a root shell poking around trying to remember how upgrades work, which tools I need to find documentation for, etc, and end up cursing csh for compounding the mental burden.
From my perspective, changing the default root shell is a benefit, albeit very minor. Though, if FreeBSD (and NetBSD and OpenBSD, for that matter) began publishing official VM images, that'd be worth so much more to me.