Add csh/tcsh shell to TrueNas

Problem/Justification
Many users use csh for various reasons. Having it available would make things easier for Unix admins using TrueNas that already have csh/tcsh as their normal shell elsewhere.

Impact
csh has been around almost as long as Unix. csh is standard on all Unix and Linux distributions. tcsh is just an improved version of csh - installing tcsh replaces csh and makes csh a symlink to tcsh. Adding csh/tcsh to TrueNas would take very minimal effort, and no risk.

User Story
I started using csh back when it had features that sh did not, then switched to tcsh when it came out, and I have been using it ever since. I have a lot of custom settings in my .cshrc file that I would like to use with TrueNas. I have accounts on thousands of Unix/Linux systems, and TrueNas is the only one that doesn’t have csh/tcsh. I am not saying csh/tcsh is better, just that it would be nice to have a choice of shells to use.

1 Like

Bash is more feature rich than csh. I’ve had to use csh in my 30+ years of UNIX experience. Csh has bugs that have never been fixed. I’ve experienced those bugs firsthand. Converting the csh script to KSH( the enhanced Bourne shell at that time) resolved the anomaly. I don’t see any need for inclusion here.

EDIT: Removed the flagged SPAM link. The rest of the posting is fine.

I feel that! :nerd_face: I, too, had self-selected to csh (and to emacs) back in the 80s, and fought the good fight dragging customizations and habits with me well into many versions of Mac OS X.

At some point, though, I succumbed to bash in order to work with peers, advise clients, and supply them safe/portable scripts.

I only come into regular contact with tcsh through my last lingering TrueNAS Core server. (I’ve not upgraded to its sunset release, wherein even baseline FreeBSD finally switched to ash to end this generational confusion.)

With both Debian and macOS now defaulting to zsh, I’ve finally found a home that I consider worthy of nontrivial customizations again.

If I still felt enough energy to hold back the tide affecting every single system I use, I’d probably have long since embraced fish.

So again I do very much recognize the appeal. But I suspect that the right balance is that the base appliance hypervisor should not carry tcsh as far past its due date as TrueNAS Core did.

Instead: I’d heartily encourage you to install it into any and all Containers workspaces where you set up your own camp. It’s in those environments where you’re the exclusive admin; where each of us is free to install packages and decorate our nests with all of our own personal creature comforts. :face_savoring_food:

1 Like