Re: tcsh as csh default

2022-10-21 Thread Martin Neitzel
> Any good reason to not update /bin/csh to tcsh as default csh like FreeBSD > and Dragonfly did? I use csh/tcsh interactively (not for sripts), and I am heavily in love with and dependent on csh's !-style history feature. None of the other shells in base provide that. I pick !-history over "lin

Re: tcsh as csh default

2022-10-21 Thread Martin Husemann
On Fri, Oct 21, 2022 at 03:06:41PM +0200, Havard Eidnes wrote: > There's a definite size difference between csh and tcsh, > approximately 2x -- this is on NetBSD/amd64 9.x, and I include > /bin/sh for comparison: > > $ ls -lf /usr/pkg/bin/tcsh /bin/csh /bin/sh > -rwxr-xr-x 1 root wheel 408688 J

Re: tcsh as csh default

2022-10-21 Thread Havard Eidnes
> Does csh even exist anymore? You're trolling? The mere fact that it exists in NetBSD to the present day is perhaps enough to claim "yes", and we have the version history back to the 4.4lite version in our source archive. > I thought tcsh replaced csh and is now the main development > branch of

Re: tcsh as csh default

2022-10-21 Thread Niko Nastonen
Does csh even exist anymore? I thought tcsh replaced csh and is now the main development branch of it. > On 21. Oct 2022, at 15.15, Mouse wrote: > >> The only time it ever made any sense at all to use csh for scripts >> was in the brief period between [when csh appeared] and [when sh >> appeare

Re: tcsh as csh default

2022-10-21 Thread Mouse
> The only time it ever made any sense at all to use csh for scripts > was in the brief period between [when csh appeared] and [when sh > appeared]. Speaking as someone whose preferred interactive shell is a csh derivative, I maintain exactly two csh-family scripts: my .cshrc and my .login. Excep

Re: tcsh as csh default

2022-10-21 Thread Edgar Fuß
> About the only argument for retaining csh that makes zero > sense is to retain it for scripts. I guess it's a matter of (varying) taste. I used to prefer csh at some time, and that was definetely after V7 appeared. Also, there are csh scripts out there. Anyone fully converted metamail to sh?

Re: tcsh as csh default

2022-10-21 Thread Robert Elz
Date:Fri, 21 Oct 2022 11:37:07 +0200 From:Anders Magnusson Message-ID: | Hm, I do not think it sound like a good idea to remove csh, it is quite | much in use for scripting Really?? The only time it ever made any sense at all to use csh for scripts was in the

Re: tcsh as csh default

2022-10-21 Thread Anders Magnusson
Den 2022-10-21 kl. 11:07, skrev Martin Husemann: On Fri, Oct 21, 2022 at 07:51:14AM +, Emmanuel Dreyfus wrote: On Fri, Oct 21, 2022 at 07:39:45AM +0200, Martin Husemann wrote: [csh] Or just remove it... It would be a bad joke for anyone that has set it as root shell. Oh, I did not mean to

Re: tcsh as csh default

2022-10-21 Thread Martin Husemann
On Fri, Oct 21, 2022 at 07:51:14AM +, Emmanuel Dreyfus wrote: > On Fri, Oct 21, 2022 at 07:39:45AM +0200, Martin Husemann wrote: > [csh] > > Or just remove it... > > It would be a bad joke for anyone that has set it as root shell. Oh, I did not mean to suggest marking it as "obsolete" and aut

Re: tcsh as csh default

2022-10-21 Thread Emmanuel Dreyfus
On Fri, Oct 21, 2022 at 07:39:45AM +0200, Martin Husemann wrote: [csh] > Or just remove it... It would be a bad joke for anyone that has set it as root shell. -- Emmanuel Dreyfus m...@netbsd.org